adapted AWS CloudFormation Example for AWS Educate Classroom
This commit is contained in:
		@@ -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'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user