GithubHelp home page GithubHelp logo

acloudguru-resources / course-aws-certified-developer-associate Goto Github PK

View Code? Open in Web Editor NEW
187.0 12.0 559.0 10.08 MB

AWS Certified Developer Associate course

HTML 44.03% Python 14.59% Shell 32.21% JavaScript 9.16%

course-aws-certified-developer-associate's Introduction

COURSE AWS AWS Certified Developer Associate An A Cloud Guru Course - AWS Certified Developer Associate

Prepared by Faye Ellis. Lab files for A Cloud Guru, Course - AWS Certified Developer Associate

In this course you'll learn:

  • The domains of knowledge for the AWS Certified Developer Associate exam.
  • Best practices for using the tools and platforms of AWS.
  • Hands-on labs designed to challenge your intuition, creativity and knowledge of the AWS platform.

IMPORTANT Please note, this is provided as-is, neither I, nor A Cloud Guru support this code. If you do identify any errors, then please identify and we will attempt to fix on a best efforts basis. IMPORTANT - We recommend creating a new account or lab specs for this workshop. Using an existing account could cause damage or disruption to the resources in that account. These files are distributed on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. Thank you.

course-aws-certified-developer-associate's People

Contributors

fayecloudguru avatar megajessica avatar michaelolear avatar mrcsmonteiro avatar peterk13 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

course-aws-certified-developer-associate's Issues

creating a dynamodb table demo

After typing this i
[ec2-user@ip-172-31-82-70 Create_A_DynamoDB_Table_Demo]$ aws dynamodb batch-write-item --request-items file://items.json
i got this error
An error occurred (ResourceNotFoundException) when calling the BatchWriteItem operation: Requested resource not found. when trying to create a table.

Typo that makes Expirement Fail

@fayecloudguru During the cloud guru DVA-C01 session, the scripts attched with one bug found, makes the experiment fails:

in the Cognito_Commands.txt file: step 5, the highlight part below is considered as typo, need to remove to keep consistency of the Role name with rest of the guide.

--roles unauthenticated=arn:aws:iam::xxxxx:role/Cognito_DynamoPoolUnauthRole --output json

More backgroud:

Cognito Commands:

  1. Using the CLI, create new identity pool, named DynamoPool, allow unauthenticated entities.
    **** (use ^ - Shift + 6 if you are a windows user, not ) ****

    aws cognito-identity create-identity-pool
    --identity-pool-name DynamoPool
    --allow-unauthenticated-identities
    --output json

  2. Create an IAM role named Cognito_DynamoPoolUnauth.

aws iam create-role --role-name Cognito_DynamoPoolUnauth --assume-role-policy-document file://myCognitoPolicy.json --output json

  1. Grant the Cognito_DynamoPoolUnauth role read access to DynamoDB by attaching a managed policy (AmazonDynamoDBReadOnlyAccess).

aws iam attach-role-policy --policy-arn arn:aws:iam::aws:policy/AmazonDynamoDBReadOnlyAccess --role-name Cognito_DynamoPoolUnauth

  1. Get the IAM role Amazon Resource Name (ARN).
    aws iam get-role --role-name Cognito_DynamoPoolUnauth --output json

  2. Add our role to the Cognito Identity Pool. Replace the pool ID with your own pool ID and use the role ARN from the previous step.

aws cognito-identity set-identity-pool-roles
--identity-pool-id "us-east-1:xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
--roles unauthenticated=arn:aws:iam::xxxxx:role/Cognito_DynamoPoolUnauthRole --output json

  1. Double check it worked using:

aws cognito-identity get-identity-pool-roles --identity-pool-id "us-east-1:xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

  1. We can now specify the Cognito credentials in our application - i.e. in the JavaScript section of our webpage!
    Replace the identity pool ID with your own and the role ARN with your own role ARN.
    We are going to add this snippet to our index.html:

AWS.config.credentials = new AWS.CognitoIdentityCredentials({
IdentityPoolId: "us-east-1:xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
RoleArn: "arn:aws:iam::xxxxx:role/Cognito_DynamoPoolUnauthRole"
});

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.