Select a default region 1) us-east-1 : US East (N. Virginia) 2) us-west-1 : US West (N. California) 3) us-west-2 : US West (Oregon) 4) eu-west-1 : EU (Ireland) 5) eu-central-1 : EU (Frankfurt) 6) ap-south-1 : Asia Pacific (Mumbai) 7) ap-southeast-1 : Asia Pacific (Singapore) 8) ap-southeast-2 : Asia Pacific (Sydney) 9) ap-northeast-1 : Asia Pacific (Tokyo)
(default is 3): 8
Application django-tutorial has been created. Do you want to set up SSH for your instances? (Y/n): Y
Select a keypair. 1) elastic_beanstalk 2) [ Create new KeyPair ]
Select a keypair. 1) aws-eb 2) [ Create new KeyPair ] (default is 1): 2
Type a keypair name. (Default is aws-eb2): Generating public/private rsa key pair. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/werwre/.ssh/aws-eb. Your public key has been saved in /home/dfdfefe/.ssh/aws-eb.pub. The key fingerprint is: SHA256:dfeg+3ih82hi2hkfn292/12323dfsdf aws-eb The key's randomart image is: +---[RSA 2048]----+ | | | .abc | | 44455.o+. | | ##.o+o .23 | | #@$.So. . | | # + *o.. | | E!@#@1###.+ | | .o*+@#!$!.=o# | | #######+=.o#. | +----[SHA256]-----+ WARNING: Uploaded SSH public key for "aws-eb" into EC2 for region ap-southeast-2.
시간이 좀 걸리는데, 작업을 다 마치고 나면, 아래와 같이 환경이 생성된것을 확인할수 있습니다.
1 2 3 4
g-stack-AWSEBCloudwatchAlarmHigh-1GEUR7I1T33QF 2020-09-24 08:00:08 INFO Created CloudWatch alarm named: awseb-e-cizji5shhg-stack-AWSEBCloudwatchAlarmLow-6M9MHE521DWB 2020-09-24 08:00:36 INFO Application available at django-env.eba-taamyy5q.ap-southeast-2.elasticbeanstalk.com. 2020-09-24 08:00:36 INFO Successfully launched environment: django-env
(eb_env) dhkang ~/elastic_beanstalk/ebdjango eb deploy Creating application version archive "app-200924_170655". Uploading django-tutorial/app-200924_170655.zip to S3. This may take a while. Upload Complete. 2020-09-24 08:06:56 INFO Environment update is starting. 2020-09-24 08:07:36 INFO Deploying new version to instance(s). -- Events -- (safe to Ctrl+C) Use "eb abort" to cancel the command.