Docker Cookbook


Starting an Application in the Cloud Using Docker Support in AWS Beanstalk | 269



Download 6,31 Mb.
Pdf ko'rish
bet211/260
Sana21.04.2022
Hajmi6,31 Mb.
#570749
1   ...   207   208   209   210   211   212   213   214   ...   260
Bog'liq
Docker Cookbook

8.14 Starting an Application in the Cloud Using Docker Support in AWS Beanstalk | 269


With the AWS CLI, create an application 
foobar
, list the solution stacks, and pick the
Docker environment you need. Create a 
configuration template
by using the solution
stack of your choice, and finally, create an 
environment
:
$ aws elasticbeanstalk create-application --application-name foobar
...
$ aws elasticbeanstalk list-available-solution-stacks
...
$ aws elasticbeanstalk create-configuration-template
--application-name foobar
--solution-stack-name="64bit Amazon Linux 2014.09 v1.2.1 \
running Docker 1.5.0"
--template-name foo
...
$ aws elasticbeanstalk create-environment
--application-name foobar
--environment-name cookbook
--template-name foo
At this point, if you head over to the AWS Beanstalk console, you will see a 
foobar
application and a 
cookbook
environment being created. Once Beanstalk has finished
creating the environment, you can use the 
describe-environments
API call and see
that the environment is ready. In the console, you will also see that an EC2 instance, a
security group, and an elastic load-balancer have been created. You can configure the
load-balancers through the Beanstalk console.
Going back to our CLI steps, check that the environment is ready:
$ aws elasticbeanstalk describe-environments
-------------------------------------------------------------------------------
| DescribeEnvironments |
+------------------------------------------------------------------------------+
|| Environments ||
|+-------------------+--------------------------------------------------------+|
|| ApplicationName | foobar ||
|| CNAME | cookbook-pmpgzmx2e6.elasticbeanstalk.com ||
|| DateCreated | 2015-03-30T15:32:47.814Z ||
|| DateUpdated | 2015-03-30T15:38:14.291Z ||
|| EndpointURL | awseb-e-7-AWSEBLoa-CUXDVD6RL9R7-992275618.eu-west-1...||
|| EnvironmentId | e-7hamntqqnw ||
|| EnvironmentName | cookbook ||
|| Health | Green ||
|| SolutionStackName| 64bit Amazon Linux 2014.09 v1.2.1 running Docker 1.5.0||
|| Status | Ready ||
|+-------------------+--------------------------------------------------------+|
||| Tier |||
||+-----------------------------------------+--------------------------------+||
||| Name | WebServer |||
||| Type | Standard |||
||| Version | |||
||+-----------------------------------------+--------------------------------+||

Download 6,31 Mb.

Do'stlaringiz bilan baham:
1   ...   207   208   209   210   211   212   213   214   ...   260




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish