Deploy docker image to Amazon AWS (free for 12months) in half an hour for beginners
After success registration in AWS you can start using it.
1. Create secret keys ...
And the image is in CLOUD now you can run it and test it....
1. Create secret keys ...
- Go to https://console.aws.amazon.com/iam/home?#/security_credential and create keys, you will need them for logging in local docker, ...
- In "Repositories" create your new repository. When you create it you will get commands for docker and was for your repository - click "View push command" (sample code)
- Installation: http://docs.aws.amazon.com/cli/latest/userguide/awscli-install-windows.html#install-msi-on-windows
- $ aws configure (you enter credentials from Access keys ...)
- $ aws ecr get-login --no-include-email --region eu-central-1 (you use your location, look in your sample for running)
- You run what you will get in response like: docker login -u AWS -p eyJwY................
- $ docker tag ???your local image???:latest ????your amazon image look in sample code???:latest (take code from sample code)
- $ docker push ????your amazon image look in sample code???:latest
And the image is in CLOUD now you can run it and test it....
Comments