This reference architecture creates an AWS Service Catalog Portfolio called "Service Catalog EC2 Reference Architecture" with associated products. The AWS Service Catalog Product references cloudformation templates for the Amazon EC2 Linux and Windows instances which can be launched by end users through AWS Service Catalog. The AWS Service Catalog EC2 product creates either an Amazon Linux or Microsoft Windows EC2 instance in the VPC and Subnets selected by the end user. A Amazon Simple Systems Manager patch baseline, maintenance window and task are created to allow for automated patching of the Amazon Linux and Microsoft Windows operating systems. The Portfolio also includes a Linux webserver Product with either Apache or NGINX versions.
Launch the EC2 portfolio stack:
* If you have already run the VPC template, then you will put the output.LaunchRoleName from the completed LaunchConstraintRole stack in the LaunchRoleName field (default is SCEC2LaunchRole).
Be aware, running this service as demonstrated here is non-SSL http. In production you must protect all web traffic with SSL.
The example templates here cannot create and manage SSL for you, so it must be done as an additional task in your account.