Aws Devops (Cloudformation) : Symbiosis Centre of Information Technology

Download as pdf or txt
Download as pdf or txt
You are on page 1of 22
At a glance
Powered by AI
The key takeaways from the document are that AWS CloudFormation allows users to define, deploy and manage AWS infrastructure as code. It provides benefits such as automation, version control and repeatable deployments.

Some benefits of AWS CloudFormation include treating infrastructure as code, quick and constant provisioning, managing through lifecycles, and using templates to create, update and delete entire stacks as single units.

Main features of AWS CloudFormation include extensibility, cross account and region management, authoring with JSON/YAML or programming languages, safety controls, and dependency management.

SYMBIOSIS CENTRE OF INFORMATION TECHNOLOGY

AWS DEVOPS
(CLOUDFORMATION)
Presented for the course - DevOps Services : Batch 2020-22
Presented by- Group 2
DevOps - next evolution of Agile methodologies

DevOps tools improve collaboration, introduce


automation, and leverage observability and
monitoring

Wide variety of DevOps tools for every


requirement

INTRODUCTION DevOps market share is expected to grow to USD


10.31 Billion by 2023

By 2023, 40% of product and platform teams will


use AIOps for automated change risk analysis in
DevOps pipelines, reducing unplanned downtime
by 20%.
OVERVIEW
AWS CloudFormation enables you to manage your complete infrastructure or AWS resources in a
text file.

Benefits of AWS CloudFormation –


Automate best practices
Integrate with other AWS service
Contribute to CloudFormation with the community
Extend CloudFormation with third-party resource types
Manage third-party and private resources
Scale your infrastructure worldwide
By treating infrastructure as code:

AWS CloudFormation makes it simple to model a


collection of related AWS and third-party resources

Quick and constant provisioning

FEATURES
Managing through the lifecycles

We can use a template to create, update, and delete an


entire stack as a single unit, as often as we need to,
instead of managing resources individually.
Extensibility

Cross account & cross-region management

Authoring with JSON/YAML

Authoring with familiar programming languages

FEATURES Build serverless applications with SAM

Safety controls

Preview changes to your environment

Dependency management
Deloitte chose AWS CloudFormation templates to code the
infrastructure, which it can then deploy in one click using AWS
Service Catalog.

BENEFITS FOR
BUSINESSES “AWS is a natural fit, because it allows us to have virtually unlimited
capacity while only paying for what we use without upfront
investments.”
Empowering small businesses
and enterprises

Netflix uses AWS for nearly all its computing and storage needs,
including databases, analytics, recommendation engines, video
transcoding, and much more.
Expedia uses AWS CloudFormation with Chef to deploy its entire
front and backend stack into its AWS environment.

BENEFITS FOR
BUSINESSES “This gives us the luxury of version-controlling our network, and it
allows for seamless, exact network duplication for on-demand
development and staging environments.”

Empowering Enterprises

One of Moderna's biggest breakthroughs was the development of


its mRNA COVID-19 vaccine with a level of speed, effectiveness,
and scale made possible by AWS.
USP
Get Started Fast Large Partner Ecosystem

Fully Managed Services Secure

Built for Scale Pay-As-You-Go


WORKFLOW OF AWS CLOUDFORMATION
Code the infrastructure using YAML or JSON or other templates.

Upload code into S3 bucket.

Create stack based on the template code using command line tools.

Configure stacks and resources specified on template.


STEPS INVOLVED
Source Version Control of all templates and configuration

Build Static analysis and unit test

Test Clean environment for integration testing

Promote Deployment to live environments


Version Control

CloudFormation templates should be in some sort of source control.

Parameters passings in CloudFormation templates should be put in JSON

SOURCE document, must be in source control.

Configuration management and shell scripts or any other helpers should live
together.
BUILD
Static Analysis

Run in a build tool

Validate syntax

Validate governance and business logic

Fail build and notify on errors


To know the actual validity of the template under production

TaskCat - A tool that test templates by forming stacks in multiple regions


simultaneously in a live environment.

Attaches with a file that contains a list of regions you want to deploy into

TEST
Deploys the template across those regions and generates a final report

The final report tells the status if it passed or failed

If failed it’ll tell the regions where it failed for further optimization.
PROMOTE
Deploy to all environments

Create stacks in each environment

Decide on a deployment startegy

Use an orchestration tool to ensure constant deployment

Use stack sets for deployment to multiple accounts & region

Insert approval stages if needed


CI/CD SaaS TOOLS
AWS Cloud

Region

Source Build Test Promote

Staging
Developers Templates AWS CodeCommit AWS CodePipeline AWS CodeBuild Testing AWS
Cloudformation

Production
CREATING A NEW
STACK & SELECTING
TEMPLATE
DETAILING STACK
REVIEW STACK
CREATE STACK

CONNECT TO
INSTANCE
EXECUTE COMMAND

CHECK FOR DATABASES

EXECUTE MYSQL COMMAND


CONCLUSION

The user can avail AWS CloudFormation’s sample


templates or produce the user own templates to
explain the AWS resources. Amazon CloudFormation
takes care of this for the user.
FARZEEN KHAN
NAGESH SIRSAT
ROHIT BIRWATKAR
JAI UPADHYAY
THANK YOU! BINISHA SHAH
JAISON JACOB
S MARUTHI RAO
SHIVAM BANSAL
SHUBHAM KUMAR

You might also like