1. Home
  2. Training Library
  3. Amazon Web Services
  4. Courses
  5. AWS CloudFormation: Introduction to Infrastructure as Code

Summary

Contents

keyboard_tab
Introduction
1
Introduction
PREVIEW2m 19s
Summary
5
Summary
3m 39s

The course is part of this learning path

Certified Developer – Associate Certification Preparation for AWS
course-steps 29 certification 5 lab-steps 22 description 2
play-arrow
Start course
Overview
DifficultyBeginner
Duration24m
Students439
Ratings
4.9/5
star star star star star-half

Description

Course Description

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.

Learning Objectives

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

Intended Audience

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 

Prerequisites

As a prerequisite of this course, it would be beneficial to you to have an understanding of basic AWS concepts and core services

Feedback

If you have thoughts or suggestions for this course, please contact Cloud Academy at support@cloudacademy.com.

Transcript

Resources referenced:

Deploy Wordpress using CloudFormation

Hands-On CloudFormation for Deploy Scalability

 

Lecture Transcript:

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 learnt 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. And duplicate existing infrastructure. Using the CloudFormer tool, you can quickly create a template of your existing infrastructure, allowing you to deploy elsewhere, via CloudFormation. 

Now, following this lecture, I looked at some of the core components of AWS CloudFormation, which covered Stacks, Templates, Stack Sets, Designer and CloudFormer. 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. CloudFormer. Now CloudFormer is a tool that allows you to replicate existing infrastructure, that wasn't deployed using CloudFormation. 

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 support@cloudacademy.com. Your feedback is greatly appreciated. 

Thank you for your time, and good luck with your continued learning of cloud computing. Thank you.

About the Author

Students60778
Labs1
Courses55
Learning paths40

Stuart has been working within the IT industry for two decades covering a huge range of topic areas and technologies, from data centre and network infrastructure design, to cloud architecture and implementation.

To date, Stuart has created 50+ courses relating to Cloud, most within the AWS category with a heavy focus on security and compliance

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.