ElasticBeanstalk environment

0

Currently we're using ElasticBeanstalk to deploy our Django apps (already 5 years old). Some of the packages are already outdated. Is there a way to "copy" the EC2 instance where the app is running? Can the EC2 instance be turn to an image and run as virtual machine? Or can it be copy with docker? Basically I want a copy of the production environment created by ElasticBeanstalk in my own machine.

Vince
質問済み 2ヶ月前148ビュー
1回答
0

Hello.

You can copy by creating an EC2 AMI and starting EC2 from that AMI.
If you want to create an AMI, you can do so by following the steps in the document below.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html#how-to-create-ebs-ami

profile picture
エキスパート
回答済み 2ヶ月前
profile picture
エキスパート
レビュー済み 2ヶ月前
  • Sorry for the confusion what I mean, is a copy of the production environment, which is in EC2, that I can run in my local machine.

  • understood. In that case, you can perform VM export to export the EC2 OS image to S3, copy it to on-premises, and run it on VMware etc. https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport_image.html

  • Currently I am using Macbook with M2 chip, what would be the best app to be able to use the exported EC2 image?

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ