Skip to content
Snippets Groups Projects
Commit 781cfc8f authored by Sebastian Rieger's avatar Sebastian Rieger
Browse files

adapted AWS CloudFormation Example for AWS Educate Classroom

parent b57c26ad
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
"Parameters": {
"paramImageID": {
"Type": "AWS::EC2::Image::Id",
"Default": "ami-f573e19a",
"Default": "ami-4dd18837",
"Description": "Amazon Image ID (Amazon Linux), Frankfurt ami-f573e19a, N. Virginia ami-4dd18837"
},
"paramInstanceType": {
......
......@@ -3,7 +3,7 @@
"Parameters": {
"paramImageID": {
"Type": "AWS::EC2::Image::Id",
"Default": "ami-f573e19a",
"Default": "ami-4dd18837",
"Description": "Amazon Image ID (Amazon Linux), Frankfurt ami-f573e19a, N. Virginia ami-4dd18837"
},
"paramInstanceType": {
......
......@@ -8,10 +8,18 @@ import boto3
################################################################################################
region = 'eu-central-1'
# region = 'eu-central-1'
region = 'us-east-1'
stackName = 'cloudcomp-counter-demo-stack'
keyName = 'srieger-pub'
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# !!!
# !!! You must change vpc, subnet and availability zone below to match your zone, or use the
# !!! start-with-vpc.py example, that creates and looks up all depedencies / necessary
# !!! resources.
# !!!
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
################################################################################################
#
......
......@@ -7,8 +7,14 @@ import boto3
#
################################################################################################
# place your credentials in ~/.aws/credentials, as mentioned in AWS Educate Classroom,
# Account Details, AWC CLI -> Show (Copy and paste the following into ~/.aws/credentials)
region = 'eu-central-1'
# !!! you also need to specify an IAM role for this example to able to access S3 !!!
# region = 'eu-central-1'
region = 'us-east-1'
stackName = 'cloudcomp-counter-demo-stack'
keyName = 'srieger-pub'
......
......@@ -10,7 +10,8 @@ import boto3
################################################################################################
region = 'eu-central-1'
# region = 'eu-central-1'
region = 'us-east-1'
stackName = 'cloudcomp-counter-demo-stack'
......
......@@ -8,7 +8,8 @@ import boto3
################################################################################################
region = 'eu-central-1'
# region = 'eu-central-1'
region = 'us-east-1'
stackName = 'cloudcomp-counter-demo-stack'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment