再一次的 Docker :雲端篇

(接續本地篇。由於筆記很短,所有筆記皆維持原樣不翻譯)

HP L4329
Alchemist-hp, HP L4329, CC BY-SA 3.0 https://creativecommons.org/licenses/by-sa/3.0, via Wikimedia Commons

Deploy to AWS

AWS Elastic Beanstalk

Docker push

Upload your own docker image to Docker Hub.

  1. docker login and type username & password.
  2. docker push yourusername/image_name

Beanstalk

AWS console

  1. Open Dockerrun.aws.json.
  2. Terminate the environment. 下線