As AWS-based cloud environments grow in complexity, DevOps Professionals need to adopt more powerful tools and techniques to manage complex deployments. In the AWS ecosystem, CloudFormation is the most powerful and sophisticated automation tool available to developers. AWS CloudFormation can be used to automatically provision your AWS resources across multiple accounts and regions all from a simple text file. In this course, I will explain the components of this service and how they operate together to provide you with this feature of provisioning your infrastructure as code.
By the end of this course you will be able to:
- Explain what AWS CloudFormation is and what it’s used for
- Determine the benefits of AWS CloudFormation
- Understand what each of the core components are and what they are used for
- Create a CloudFormation Stack using an existing AWS template
This course is intended for DevOps and SysOps engineers, as well as Architects who have a level of responsibility when it comes to deploying, provisioning, managing and maintaining resources within your AWS infrastructure.
As a prerequisite of this course, it would be beneficial to you to have an understanding of basic AWS concepts and core services.
If you have thoughts or suggestions for this course, please contact Cloud Academy at firstname.lastname@example.org.
Hello, and welcome to this final lecture, where I want to briefly summarize some of the key points that I'd covered throughout the previous lectures.
I started off by providing an overview of what AWS CloudFormation is, and here we learned that AWS CloudFormation can provision your infrastructure resources via a text-based file. CloudFormation can perform these actions securely and across multiple regions and accounts. A CloudFormation template describes your resources that you need provisioned, along with their configurations. And CloudFormation will also work out the service dependency.
Some of the benefits of CloudFormation include security, as it removes the factor of human error and reduces the chance of vulnerabilities. Infrastructure replication. AWS CloudFormation allows you to quickly and easily replicate your infrastructure within your AWS account. And through the use of templates, you can deploy your resources across multiple regions and accounts, making these templates the source of truth for your infrastructure. It's simply code. As the entire infrastructure is deployed via a scripted code, it makes it easy for other members of your team or outside of your team, to review and verify your code to ensure that it's correct before deployment. Notification and automation. As AWS CloudFormation integrates with SNS, it easily allows you to provide updates of the status of changes with your deployments. Sample Templates. These allow you to get you started quickly, with some common deployment options to save you having to create them yourself.
Now, following this lecture, I looked at some of the core components of AWS CloudFormation, which covered Stacks, Templates, Stack Sets, and Designer.
Stacks. A CloudFormation stack is a set of AWS resources that you can provision, update or delete all at the once. Resources within the stack are identified by associating a CloudFormation template.
Templates. Templates are comprised of JSON or YAML files, and are text files that describe your environment and resources to build within your account. The template is then used by a stack to assist in the deployment of resources.
Stack Sets. A stack set allows you to create, update or delete your stacks across a number of AWS accounts, in different regions, with a single template. Stack sets also use a component known as a stack instance, which references to another stack in a different AWS account, in a particular region.
Designer. The designer allows you to visually create your environment through a drag and drop interface, which allows CloudFormation to automatically create a template for you, based off of your design.
Finally, I provided a demonstration of how to create a CloudFormation stack, using an AWS sample template.
That has now brought me to the end of this lecture, and to the end of this introductory course. You should now have a greater understanding of what AWS CloudFormation is, and what it's used for. To gain additional hands-on experience with AWS CloudFormation, I suggest you take a look at the following labs that we have: Deploying Wordpress using CloudFormation, and Hands-on CloudFormation for Deploy Scalability.
If you have feedback on this course, positive or negative, please contact us by sending an email to email@example.com. Your feedback is greatly appreciated.
Thank you for your time, and good luck with your continued learning of cloud computing. Thank you.
Stuart has been working within the IT industry for two decades covering a huge range of topic areas and technologies, from data center and network infrastructure design, to cloud architecture and implementation.
To date, Stuart has created 150+ courses relating to Cloud reaching over 180,000 students, mostly within the AWS category and with a heavy focus on security and compliance.
Stuart is a member of the AWS Community Builders Program for his contributions towards AWS.
He is AWS certified and accredited in addition to being a published author covering topics across the AWS landscape.
In January 2016 Stuart was awarded ‘Expert of the Year Award 2015’ from Experts Exchange for his knowledge share within cloud services to the community.
Stuart enjoys writing about cloud technologies and you will find many of his articles within our blog pages.