Elastic Compute Cloud
What options can be used to host an application that uses NGINX and is scalable at any point in time?
Choose 2 correct answers.
A. AWS EC2
B. AWS Elastic Beanstalk
C. AWS SQS
D. AWS ELB
A. & B.
NGINX is an open source software for web serving, reverse proxying, caching, load balancing etc. It complements the load balancing capabilities of Amazon ELB and ALB by adding support for multiple HTTP, HTTP/2, and SSL/TLS services, content-based routing rules, caching, Auto Scaling support, and traffic management policies.
NGINX can be hosted on an EC2 instance through a series of clear steps- Launch an EC2 instance through the console. SSH into the instance and use the command yum install -y nginx to install nginx. Also, make sure that it is configured to restart automatically after a reboot.
It can also be installed with an Elastic Beanstalk service.
To enable the NGINX proxy server with your Tomcat application, you must add a configuration file to .ebextensions in the application source bundle that you upload to Elastic Beanstalk.
More information is available at:
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/java-tomcat-platform.html#java-tomcat-proxy