AWS Classroom Series – 09/Feb/2021

Cloud formation contd

Problem 1: AMI id is hard coded

  • We need to give ubuntu 20 ami id in such a way so that it works in every region.
  • Refer Here for the changes done
  • Refer Here to use fn::findinmap function
  • Execute the stack
  • Now our template doesnot show any outputs
  • Now lets add output section as mentioned Refer Here and to get outputs we would be using fn::getatt Refer Here
  • Refer Here for initial set of changes
  • Now to make our outputs show the necesary details lets use cloudformation functions Refer Here
  • Refer Here for the formatted output added
  • Problems still to be solved
    • Create reusable templates
    • Solve the apache installation issue.

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%