AWS Classroom Series – 12/Feb/2021

AWS Cloudformation Stack Set

  • Stackset extends the functionality of stacks by enabling you to create, update or delete stacks across multiple regions and accounts in a single operation
  • Refer Here for sample templates
  • Exercise: Create a cloudformation template to create vpc with cidr range 10.10.0.0/16 and now create a stack set to create this vpc in mumbai and oregon regions
  • Refer Here for the steps

AWS Cloudformation Macro

  • Macro enables to perform custom processing on templates

  • There are two major steps in processing tempates using macros

    • Create an AWS Lambda function to perform template processing
    • Create a resource of type AWS::CloudFormation::Macro, which enables to call the Lambda function from CF template.
    • Refer Here for sample
  • Exercise: Create a template to create an amazon ec2 linux instance and in this create a user data to install apache server

sudo yum install httpd -y
sudo systemctl enable httpd.service
sudo systemctl start httpd.service

Next Steps:

  1. Migrations: For migrations we require Azure free trail account to create simulation for on-premise environment. Refer Here
  2. We will perform
    1. Server Migration
    2. Database Migration
  3. We will look into Storage Migration.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Network Widget by Acurax Small Business Website Designers

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube