Difference between revisions of "Amazon Free AWS training in Stratford"

From MyWiki
Jump to: navigation, search
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
'''EDX Course'''<br>
 
'''EDX Course'''<br>
 +
 +
Week 1 - Exercise 2 <br>
 +
[[ Launch an Amazon EC2 instance with a user data script. ]]<br>
 +
 +
Week 1 - Exercise 3 <br>
 +
[[ Launch an AWS CloudFormation template to create VPC and subnets. ]]<br>
 +
[[ Step by step instructions ot launch a CloudFormation template ]]<br>
 +
[[ Launch an Amazon EC2 instance with a user data script in a VPC ]]<br>
 +
[[ Step by step - Launch an Amazon EC2 instance with a user data script in a VPC ]]<br>
 +
 
Week 2 - Exercise 4 <br>
 
Week 2 - Exercise 4 <br>
 
 
[[ Create an AWS IAM policy ]]<br>
 
[[ Create an AWS IAM policy ]]<br>
 
[[ Create and IAMS user ]]<br>
 
[[ Create and IAMS user ]]<br>
 
[[ Create an IAMS user in step by step ]]
 
[[ Create an IAMS user in step by step ]]
 
 
[[ Create an Amazon EC2 instance and configure AWS CLI with the access keys of the AWS IAM user ]]<br>
 
[[ Create an Amazon EC2 instance and configure AWS CLI with the access keys of the AWS IAM user ]]<br>
[[ Create an Amazon EC2 instance and configure AWS CLI step by step ]]
+
[[ Create an Amazon EC2 instance and configure AWS CLI step by step ]]<br>
 
[[ Connect to the instance using SSH. ]]
 
[[ Connect to the instance using SSH. ]]
 
 
 
 
 
<source lang="text">
 
 
    Connect to the instance using SSH. You may refer to the instructions in the third exercise for connecting
 
to the instance.
 
    Open the credentials.csv file that you downloaded earlier. Find the entry for edXProjectUser, and note
 
the values for Access Key Id and Secret Access Key.
 
    On the instance terminal, type the below command.
 
 
    aws configure
 
 
    Follow the prompts on the screen and paste in the values for Access Key Id and Secret Access Key.
 
    For Region, type us-west-2.
 
    For Default output format, press ENTER.
 
    You have now configured the AWS CLI so that any CLI calls will operate with the credentials of the AWS IAM user edXProjectUser.
 
    Now query the information about the Amazon EC2 instances in your account. Type the command below.
 
 
    aws ec2 describe-instances
 
 
    You should see a JSON output with all the information of the Amazon EC2 instances in your account.
 
This means that you were able to successfully execute the AWS CLI command with the permissions attached
 
to the edXProjectUser.
 
 
</source>
 

Latest revision as of 15:55, 3 September 2019

EDX Course

Week 1 - Exercise 2
Launch an Amazon EC2 instance with a user data script.

Week 1 - Exercise 3
Launch an AWS CloudFormation template to create VPC and subnets.
Step by step instructions ot launch a CloudFormation template
Launch an Amazon EC2 instance with a user data script in a VPC
Step by step - Launch an Amazon EC2 instance with a user data script in a VPC

Week 2 - Exercise 4
Create an AWS IAM policy
Create and IAMS user
Create an IAMS user in step by step Create an Amazon EC2 instance and configure AWS CLI with the access keys of the AWS IAM user
Create an Amazon EC2 instance and configure AWS CLI step by step
Connect to the instance using SSH.