Cov txheej txheem:

Dockerrun AWS JSON yog dab tsi?
Dockerrun AWS JSON yog dab tsi?

Video: Dockerrun AWS JSON yog dab tsi?

Video: Dockerrun AWS JSON yog dab tsi?
Video: 7 - Dockerrun.aws.json Introduction || Deploy Multi-Container App on AWS 2024, Kaum ib hlis
Anonim

A Dockerrun . aws . json cov ntaub ntawv yog Elastic Beanstalk-specific JSON cov ntaub ntawv uas piav qhia txog yuav ua li cas xa ib txheej ntawm Docker ntim raws li Elastic Beanstalk daim ntawv thov. Koj tuaj yeem siv a Dockerrun.

Hauv qhov no, EB xa mus ua dab tsi?

Elastic Beanstalk ( EB ) yog ib qho kev pabcuam siv rau xa mus , tswj, thiab ntsuas qhov web applications thiab cov kev pabcuam. Koj ua tau siv Elastic Beanstalk los ntawm AWS Management console lossis los ntawm kab hais kom ua siv lub Elastic Beanstalk Command Line Interface ( IB CLI ).

Kuj Paub, yog Elastic Beanstalk lub thawv? Elastic Beanstalk yog ib AWS kev pab cuam rau deploying thiab scaling web applications thiab cov kev pab cuam. Elastic Beanstalk ces saib xyuas thawv kev xa tawm, muab cov txheej txheem tsim nyog thiab tswj hwm lub hauv paus platform, suav nrog kev muab cov thaj ua rau thaj thiab hloov tshiab tshiab los txhawb cov ntawv thov.

Qhov thib ob, Kuv yuav siv Docker duab li cas rau Elastic Beanstalk?

Txhawm rau ua qhov no, peb yuav siv cov txheej txheem hauv qab no:

  1. Tsim cov cai hauv zos (Done).
  2. Tsim ib daim duab Docker hauv zos.
  3. Thawb cov duab ua Docker mus rau Docker Hub.
  4. Upload ib Dockerrun. aws. json cov ntaub ntawv rau Elastic Beanstalk. Lub sijhawm no, Elastic Beanstalk yuav nqa koj cov duab tawm ntawm Docker Hub thiab xa koj daim ntawv thov.

Yuav ua li cas rau nruab ib daim ntawv thov hauv AWS?

Deploy Code rau lub tshuab Virtual

  1. Kauj ruam 1: Tsim ib tug Key Pair.
  2. Kauj ruam 2: Nkag mus rau CodeDeploy Console.
  3. Kauj ruam 3: Tua tawm lub tshuab virtual.
  4. Kauj Ruam 4: Sau koj daim ntawv thov thiab tshuaj xyuas koj daim ntawv thov kho dua.
  5. Kauj ruam 5: Tsim ib pab pawg xa khoom.
  6. Kauj Ruam 6: Tsim Lub Luag Haujlwm Pabcuam.
  7. Kauj ruam 7: Xa koj daim ntawv thov.
  8. Kauj Ruam 8: Ntxuav koj cov xwm txheej.

Pom zoo: