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
- 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.
- 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.
- 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.
- Under configure options step, leave everything by default **and click **next button at the bottom.
- Under **review **and **create **step, at the bottom click **create **to initiate stack creation.
- On the Event button, wait for all resources to be created by changing the status **from **create_in_progess **to **create_ompleste.
• You refresh after 50 seconds by clicking on **refresh **button.
- Click on resource button to validate all resources you specified in template are created.
- To validate EC2 is provisioned, search it to see if it’s running **and **checked.
• Do so to validate VPC, security group **and **subnet.
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.
Top comments (0)