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

From MyWiki
Jump to: navigation, search
 
(47 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Bold text''''''EDX Course'''<br>
+
'''EDX Course'''<br>
Week 2 - Exercise 4 <br>
+
<source lang="text">
+
Create an AWS IAM policy
+
In the AWS Management Console, click Services, then click IAM to open the IAM dashboard.
+
In the left navigation menu, click Policies.
+
Click Create policy.
+
Click the JSON tab.
+
In the editor textbox, completely replace the sample policy with the following.
+
</source>
+
<source lang="text">
+
{
+
    "Version": "2012-10-17",
+
    "Statement": [
+
        {
+
            "Sid": "Sid1",
+
            "Effect": "Allow",
+
            "Action": [
+
                "iam:*",
+
                "rds:*",
+
                "sns:*",
+
                "cloudformation:*",
+
                "rekognition:*",
+
                "ec2:*",
+
                "cognito-idp:*",
+
                "sqs:*",
+
                "xray:*",
+
                "s3:*",
+
                "elasticloadbalancing:*",
+
                "cloud9:*",
+
                "lambda:*",
+
                "tag:GetResources",
+
                "logs:*",
+
                "kms:ListKeyPolicies",
+
                "kms:GenerateRandom",
+
                "kms:ListRetirableGrants",
+
                "kms:GetKeyPolicy",
+
                "kms:ListResourceTags",
+
                "kms:ReEncryptFrom",
+
                "kms:ListGrants",
+
                "kms:GetParametersForImport",
+
                "kms:ListKeys",
+
                "kms:GetKeyRotationStatus",
+
                "kms:ListAliases",
+
                "kms:ReEncryptTo",
+
                "kms:DescribeKey"
+
            ],
+
            "Resource": "*"
+
        }
+
    ]
+
}
+
</source>
+
<source lang="text">
+
Click Review Policy.
+
For Name, type edXProjectPolicy
+
Click Create policy.
+
  
You have successfully created an AWS IAM policy with full access to AWS IAM, Amazon EC2, Amazon S3,
+
Week 1 - Exercise 2 <br>
Amazon RDS, Amazon SNS, Amazon SQS, Amazon Rekognition, AWS Lambda, Amazon Cognito, AWS Cloud9,
+
[[ Launch an Amazon EC2 instance with a user data script. ]]<br>
AWS X-Ray, and AWS CloudFormation. When you create IAM policies, follow the standard security
+
 
advice of granting least privilege - that is, granting only the permissions required to perform a task.
+
Week 1 - Exercise 3 <br>
Determine what users need to do and then craft policies for them that let the users perform only those tasks.
+
[[ Launch an AWS CloudFormation template to create VPC and subnets. ]]<br>
</source>
+
[[ 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>
 +
[[ Create an AWS IAM policy ]]<br>
 +
[[ Create and IAMS user ]]<br>
 +
[[ 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 step by step ]]<br>
 +
[[ Connect to the instance using SSH. ]]

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.