Project of deploying simple cloud infrastructure as code with Aws Cloudformation.

mantizo_dedon_c5190cdc65

Mantizo de don

Posted on June 11, 2024

Project of deploying simple cloud infrastructure as code with Aws Cloudformation.

Project objective:

  • To deploy a basic cloud infrastructure as a code on Aws based on specification defined in the Cloudformation template.

  • This infrastructure will be provisioned automatically, hence reduced manual intervention and ensuring consistency across deployment process.

What is AWS CloudFormation?
AWS cloudformation helps companies/developers to easily define and manage infrastructure as a code by simplifying the process of provisioning and managing AWS resources in an automated matter.

Instructions Steps of provisioning resources

  1. After logging into your Aws account, on management console, search for CloudFormation into the search bar at the top-left corner. • Click on CloudFormation to open CloudFormation dashboard.

Image description

  1. Click on create stack button to choose prerequisite prepare template options. • Under prepare template, choose an existing template. • Under specify template, choose upload a template file. • Under an upload file click on choose file to upload from your local pc file. • At the bottom click on **next **button.

Image description

  1. Under provide a stack name, enter your stack name. **• Under **parameter **leave the default details as they already provisioned based resources in template. • At the bottom click **next button.

Image description

  1. Under configure options step, leave everything by default **and click **next button at the bottom.

Image description

  1. Under **review **and **create **step, at the bottom click **create **to initiate stack creation.
  2. On the Event button, wait for all resources to be created by changing the status **from **create_in_progess **to **create_ompleste.

Image description

• You refresh after 50 seconds by clicking on **refresh **button.

  1. Click on resource button to validate all resources you specified in template are created.

Image description

  1. To validate EC2 is provisioned, search it to see if it’s running **and **checked.

Image description

• Do so to validate VPC, security group **and **subnet.

Image description

Image description

Image description

conclusion

As a group of seven people there were some challenge we face in creation of template to provision the specified infrastructure in the template.

We were able to provision the required resources of this project of our Aws restart Aws certified cloud practitioner.

As group, we learn the important of CloudFormation as service in amazon web service, it help in automation of resources for Aws customers instead of manual provisioning resources which will decrease global reach and agility as benefits of Aws for customers who to deploy their infrastructure in the Aws cloud.

💖 💪 🙅 🚩
mantizo_dedon_c5190cdc65
Mantizo de don

Posted on June 11, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related