Some often used shortcuts to get started on AWS


« Back to overview

Set up a named profile on your local machine
aws configure --profile myprofilename
Add a codecommit repository as remote so you can do git push aws-codecommit
git remote add aws-codecommit ssh://[email protected]/v1/repos/testrepository
Login for 24 hours at the ECR containerservice
# using the default profile
$(aws ecr get-login  --no-include-email)

# using a specific profile
$(aws ecr get-login  --no-include-email --profile=PROFILENAME)