You've currently been tasked to migrate an existing on-premises web application into Elastic Beanstalk.
You can't find any relevant AMIs in the beanstalk service that would be suitable to host your application.
What would you consider as an easy step among the following to host the application?
Click on the arrows to vote for the correct answer
A. B. C. D.Answer - C.
The AWS Documentation mentions the following to support this.
Custom Platforms.
Elastic Beanstalk supports custom platforms.
A custom platform is more advanced customization than a Custom Image in several ways.
A custom platform lets you develop an entirely new platform from scratch, customizing the operating system, additional software, and scripts that Elastic Beanstalk runs on platform instances.
This flexibility allows you to build a platform for an application that uses a language or other infrastructure software.
To create a custom platform, you build an Amazon Machine Image (AMI) from one of the supported operating systems-Ubuntu, RHEL, or Amazon Linux and add further customizations.
You create your own Elastic Beanstalk platform using Packer, an open-source tool for creating machine images for many platforms, including AMIs for Amazon EC2
An Elastic Beanstalk platform comprises an AMI configured to run a software set that supports an application, and metadata can include custom configuration options and default configuration option settings.
Options A and D are incorrect because it could require a lot of effort to migrate the application to start using Docker containers.
Option B is incorrect because using Cloudformation alone cannot be used alone for this requirement.
For more information on Custom Platforms, please refer to the below link-
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/custom-platforms.htmlSure, I'd be happy to explain the answer options in detail to help you better understand which one is the best choice.
Option A: Migrate your application to Docker containers and then migrate to the Elastic Beanstalk environment.
Option B: Consider using CloudFormation to deploy your environment to Elastic Beanstalk.
Option C: Consider using Packer to create a custom platform.
Option D: Consider deploying your application using the Elastic Container Service.
In conclusion, all of the options listed can work for hosting an application on Elastic Beanstalk, but each one has its own pros and cons. Option A is a good choice if you're familiar with Docker and want more control over the environment. Option B is a good choice if you're comfortable with writing infrastructure as code using CloudFormation. Option C is a good choice if you want to create a custom AMI that includes all the software and configuration required to run your application. Option D is a good choice if you're already familiar with container orchestration using ECS.