From the course: AWS CloudFormation for Beginners

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Find and fix a bug

Find and fix a bug

From the course: AWS CloudFormation for Beginners

Start my 1-month free trial

Find and fix a bug

- [Instructor] Remember that our original goal was to have a website. Let's try to achieve that. I'm at the CloudFormation service console. I will open the stack named demo, go into output and try to open the website URL in a new tab. Notice that I got a 404 error. If you review the error message, it is trying to find the file index.html but unable to find it. Why is it looking for that file? Let's go back to the console and review the template. It is looking for that file because we specified index.html as the index document. We have not uploaded the index.html or the error.html file. So let us do that. We will go into the S3 servers. Go to our bucket. Click upload. Select our files by browsing to them. And hit open. Click next. Just leave everything as default. And both the files have been uploaded. Now we can go back to the website tab and hit refresh. The 404 error has now been replaced by a 403…

Contents