You provide your application source code together with the Dockerfile This is an easy way to deploy your GlassFish application. Simple example: provide your application code To learn more about configuring Docker environments on Elastic Beanstalk platforms, see Docker configuration in this same chapter. For more information, see Share the application on the Docker documentation website. You will need to create a Docker ID to access the Docker Hub. For more information, see Get Docker on theĪccess to Docker Hub. To follow this tutorial, you will also need the following Docker components:Ī working local installation of Docker. This tutorial uses the EB CLI, but you can also create environments and upload applications by using the ![]() If you haven't already, follow the instructions in Getting started using Elastic Beanstalk to launch your first Elastic BeanstalkĮnvironment. This tutorial assumes that you have some knowledge of basic Elastic Beanstalk operations, the Elastic Beanstalk command line interface (EB CLI), andĭocker. This approach is slightly more involved, and decreases the provisioning time of instances in your environment. This is easy to set up, at a cost of increased instance provisioning time.Īdvanced – Build a custom Docker image containing your application code and dependencies, and provide it toĮlastic Beanstalk to use in your environment. Simple – Provide your GlassFish application source code and let Elastic Beanstalk build and run a Docker image as part of
0 Comments
Leave a Reply. |