AMAZON and CloudFormation(1)Introduction

AMAZON and CloudFormation(1)Introduction

IaaS - Infrastructure as a service
PaaS - Platform as a service
SaaS - Software as a service

CloudFormation
Template is a JSON, it will list all the resources you need for your app.
{
    “AWSTemplateFormatVersion” : “2010-09-09”, //Template version
    “Description”: “for Serverless application”, //usage for this template
    “Parameters”: {
    }, // parameters we need for this template, it can be empty
    “Resources” : {
    }, // AWS resource and their relation
    “Outputs” : {
    } // resource information output
}

What resource are we using in my case:
ServerlessDeploymentBucket
WatchLogGroup
IamRoleLambdaExecution
WatchLambdaFunction

All the template by AWS
https://aws.amazon.com/cloudformation/aws-cloudformation-templates/

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/sample-templates-services-us-west-2.html
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/CHAP_TemplateQuickRef.html

Stack
Stack can create the AWS resource according to your JSON/YAML template.

CloudFormer
Tool to create CloudFormation Template



References:
http://www.cnblogs.com/huang0925/p/3384596.html


猜你喜欢

转载自sillycat.iteye.com/blog/2413124
今日推荐