Cloud Formation
- Hitesh Bhatia
Agenda
Introduction
Benefits
Concepts
Templates
CLI Tool
Cloud Formation Demo
Cloud Former (Intro)
Questions
AWS Services That We Use
Amazon S3
Amazon EC2
AMI
Elastic Load
Balancing
Amazon RDS
CloudWatch
Deployment
Amazon SES
Amazo...
What If…
AWS
CloudFormation
Amazon S3
Amazon EC2 AMI
Elastic Load
Balancing
Amazon RDS
CloudWatch
Deployment
Amazon SES Am...
Cloud Formation
Create and Manage AWS resources
JSON File
No need to worry about sequence or dependencies
Easily Replicabl...
Concepts
Template
Stack
Template
Describe s Infrastructure
Text file in JSON Format
A template has 6 objects
Format version
Description
Parameters...
Sample Template
Parameters
Parameters
Composed of the key, value
Delimited by a comma
Properties
Type
Default
NoEcho
AllowedValues
MaxLength
MinLengt...
Parameters
Pseudo Parameters
AWS::Region
Returns a string representing the AWS Region in which the
encompassing resource i...
Resources
Describes the AWS resource
Comma separated
Non-optional part
Each resource must have a logical name unique withi...
Resources Type
Types
AWS::AutoScaling::*
AWS::CloudFormation::*
AWS::EC2::*
AWS::ElasticLoadBalancing::*
AWS::IAM::*
AWS::...
Stack
Collection of AWS resource
Can be created via CLI and GUI
All resources are created or deleted as appropriate
Treats...
Steps to creating a Template
Installation of AWS tool
Copy basic template file.
Start adding resources
Add parameters as r...
CFN, the CLI Tool
cfn-create-stack
cfn-vaidate-stack
cfn-delete-stack
cfn-describe-stacks
cfn-describe-stack-events
cfn-de...
Demo
Cloud Formation Demo
Cloud Formation template which
Create an instance with word press site
That interacts with RDS instan...
Issues
Complex templates
Hard to write and understand
Takes a major chunk of time.
Cloud Former
Tool to create templates for Cloud Formation
Uses existing architecture
Allows to create template from existi...
Possibilities
Create a perfect stack and replicate it again and again
Integrate with Chef/Puppet to gain more power.
Can b...
References
Online Documentation
http://aws.amazon.com/cloudformation/
Sample Templates
http://docs.aws.amazon.com/AWSCloud...
Let’s Connect
IntelliGrape Software (P) Ltd
SDF L-6, NSEZ,
Noida Phase 2,
India
Phone : +91-120-6493668
Fax : +91-120-4207...
Upcoming SlideShare
Loading in...5
×

Cloud Formation

908

Published on

Introduction
Benefits
Concepts
Templates
CLI Tool
Cloud Formation Demo
Cloud Former (Intro)
Questions

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
908
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Lets assumethat you are a kind and you have 2 pen, 2 pencil, scale, rubber, sharpener but a pencil box on an examination day.Or you be a person that once went to get so may different papers signed from government authorities.CF acts as Middlemen. Helps you to do what u can, but it understands your commands and does them better.
  • Easy deletion also.Since you already have ur structure, just replicate it.
  • Easy deletion also.Since you already have ur structure, just replicate it.
  • Easy deletion also.Since you already have ur structure, just replicate it.
  • Easy deletion also.Since you already have ur structure, just replicate it.
  • Easy deletion also.Since you already have ur structure, just replicate it.
  • Easy deletion also.Since you already have ur structure, just replicate it.
  • Easy deletion also.Since you already have ur structure, just replicate it.
  • Easy deletion also.Since you already have ur structure, just replicate it.
  • Easy deletion also.Since you already have ur structure, just replicate it.
  • Easy deletion also.Since you already have ur structure, just replicate it.
  • Easy deletion also.Since you already have ur structure, just replicate it.
  • Easy deletion also.Since you already have ur structure, just replicate it.
  • Easy deletion also.Since you already have ur structure, just replicate it.
  • Easy deletion also.Since you already have ur structure, just replicate it.
  • Easy deletion also.Since you already have ur structure, just replicate it.
  • Easy deletion also.Since you already have ur structure, just replicate it.
  • Easy deletion also.Since you already have ur structure, just replicate it.
  • Easy deletion also.Since you already have ur structure, just replicate it.
  • Cloud Formation

    1. 1. Cloud Formation - Hitesh Bhatia
    2. 2. Agenda Introduction Benefits Concepts Templates CLI Tool Cloud Formation Demo Cloud Former (Intro) Questions
    3. 3. AWS Services That We Use Amazon S3 Amazon EC2 AMI Elastic Load Balancing Amazon RDS CloudWatch Deployment Amazon SES Amazon SNS Amazon SQS SnapshotAmazon EBS
    4. 4. What If… AWS CloudFormation Amazon S3 Amazon EC2 AMI Elastic Load Balancing Amazon RDS CloudWatch Deployment Amazon SES Amazon SNSAmazon SQS Snapshot Amazon EBS
    5. 5. Cloud Formation Create and Manage AWS resources JSON File No need to worry about sequence or dependencies Easily Replicable Use config file any number of times Use Cloudformer Full control over all the resources. And its Free.
    6. 6. Concepts Template Stack
    7. 7. Template Describe s Infrastructure Text file in JSON Format A template has 6 objects Format version Description Parameters Mappings Resources Outputs
    8. 8. Sample Template
    9. 9. Parameters
    10. 10. Parameters Composed of the key, value Delimited by a comma Properties Type Default NoEcho AllowedValues MaxLength MinLength MaxValue MinValue Description
    11. 11. Parameters Pseudo Parameters AWS::Region Returns a string representing the AWS Region in which the encompassing resource is being created. AWS::StackName Returns the name of the stack as specified with the cfn-create- stack command.
    12. 12. Resources Describes the AWS resource Comma separated Non-optional part Each resource must have a logical name unique within the template You must specify the type for each resource
    13. 13. Resources Type Types AWS::AutoScaling::* AWS::CloudFormation::* AWS::EC2::* AWS::ElasticLoadBalancing::* AWS::IAM::* AWS::RDS::* AWS::RDS::* AWS::S3::* AWS::RDS::*
    14. 14. Stack Collection of AWS resource Can be created via CLI and GUI All resources are created or deleted as appropriate Treats Stack as a single unit Can be created via CLI and GUI
    15. 15. Steps to creating a Template Installation of AWS tool Copy basic template file. Start adding resources Add parameters as required. Start a stack, using GUI or CLI
    16. 16. CFN, the CLI Tool cfn-create-stack cfn-vaidate-stack cfn-delete-stack cfn-describe-stacks cfn-describe-stack-events cfn-describe-stack-resources cfn-list-stack-resources cfn-list-stacks cfn-update-stack cfn-cancel-update-stack
    17. 17. Demo
    18. 18. Cloud Formation Demo Cloud Formation template which Create an instance with word press site That interacts with RDS instance. https://s3.amazonaws.com/cloudformation-templates-us-east- 1/WordPress_Single_Instance_With_RDS.template
    19. 19. Issues Complex templates Hard to write and understand Takes a major chunk of time.
    20. 20. Cloud Former Tool to create templates for Cloud Formation Uses existing architecture Allows to create template from existing resources GUI Templates can be modified. Predefined Cloud Formation template can be used to setup Cloud Former
    21. 21. Possibilities Create a perfect stack and replicate it again and again Integrate with Chef/Puppet to gain more power. Can be used to create a server with web-app application pre installed.
    22. 22. References Online Documentation http://aws.amazon.com/cloudformation/ Sample Templates http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/CHAP _TemplateQuickRef.html
    23. 23. Let’s Connect IntelliGrape Software (P) Ltd SDF L-6, NSEZ, Noida Phase 2, India Phone : +91-120-6493668 Fax : +91-120-4207689 Email : query@intelligrape.com /company/intelligrape /intelligrape.software /IntelliGrape
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×