Created
February 22, 2016 12:06
-
-
Save lotharschulz/c10f184d210cf984583c to your computer and use it in GitHub Desktop.
ghe backup sample senza.yaml file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# basic information for generating and executing this definition | |
SenzaInfo: | |
StackName: hello-world | |
Parameters: | |
- ImageVersion: | |
Description: "Docker image version of hello-world." | |
# a list of senza components to apply to the definition | |
SenzaComponents: | |
# this basic configuration is required for the other components | |
- Configuration: | |
Type: Senza::StupsAutoConfiguration # auto-detect network setup | |
AvailabilityZones: [myAZ] # use EBS volume's AZ | |
# will create a launch configuration and auto scaling group with scaling triggers | |
- AppServer: | |
Type: Senza::TaupageAutoScalingGroup | |
InstanceType: t2.micro | |
SecurityGroups: | |
- app-{{Arguments.ApplicationId}} | |
IamRoles: | |
- app-{{Arguments.ApplicationId}} | |
AssociatePublicIpAddress: false # change for standalone deployment in default VPC | |
TaupageConfig: | |
application_version: "{{Arguments.ImageVersion}}" | |
runtime: Docker | |
source: "stups/hello-world:{{Arguments.ImageVersion}}" | |
mint_bucket: "{{Arguments.MintBucket}}" | |
kms_private_ssh_key: "aws:kms:myAWSregion:123456789:key/myrandomstringwithnumbers123456567890" | |
volumes: | |
ebs: | |
/dev/sdf: my-volume | |
mounts: | |
/data: | |
partition: /dev/xvdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment