Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

create an Ubuntu CloudFormation YAML template for ubuntu-nginx.yaml that supports updates via the cfn-hup daemon . I tried playing around with a couple of ideas

create an Ubuntu CloudFormation YAML template for ubuntu-nginx.yaml that supports updates via the cfn-hup daemon.

I tried playing around with a couple of ideas from https://gist.github.com/kixorz/10194688 without success. In the 2 cases I tried, I was able to get the original software to install, but cfn-hup was not doing updates.

Here are the requirements for ubuntu-nginx.yaml:

Create a CloudFormation YAML template with the name, ubuntu-nginx.yaml, that will create an Ubuntu 16.04 server in the current AWS region, running the nginx web server. The nginx server must be running on your server. Hint: While developing this template, you probably want to spin up an Ubuntu 16.04 instance and do the install of nginx manually first to see what it takes.

You must have mappings for AMIs in all of the AWS regions.

Your must have template must have parameters for the following:

the key pair to use for connecting to the instance via ssh

the allowed CIDR block that ssh is allowed on, with a default of USF's CIDR block.

Your security group must allow ssh connections only from the specified CIDR block, and web connections from anywhere.

Your template must create a default index.html page in the appropriate location that displays the following info:

Your name in an h1 header and the title of the page

The server's public DNS name and AWS region. For public DNS name, the naive implementation will lead to circular dependencies.

Please save as: ubuntu-cfn-update.yaml

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Online Market Research Cost Effective Searching Of The Internet And Online Databases

Authors: John F. Lescher

1st Edition

0201489295, 978-0201489293

More Books

Students also viewed these Databases questions

Question

Was there an effort to involve the appropriate people?

Answered: 1 week ago