AWS CloudFormation Template Tutorial

30 Comments



Learn how to set up a CloudFormation Template, how it’s being updated, what happens and more!
If you want to learn more: https://links.datacumulus.com/aws-cloudformation-coupon
Get the AWS CloudFormation Master Class course at a special price!

Don’t forget to subscribe to get more content about Apache Kafka and AWS!

I’m Stephane Maarek, a consultant and software developer, and I have a particular interest in everything related to Big Data, Cloud and API. I sat on the 2019 Program Committee organizing the Kafka Summit. I’m also an AWS Certified Solutions Architect, Developer, SysOps Administrator, and DevOps Engineer.

My other courses are available here: https://courses.datacumulus.com/

Follow me on social media:
LinkedIn – https://www.linkedin.com/in/stephanemaarek/
Twitter – https://twitter.com/stephanemaarek/
Medium – https://medium.com/@stephane.maarek

source

30 Comments
    • blank
      poornima põò
      May 06, 2022 03:18 am Reply

      in template ImageID how to keep from where?

    • blank
      Full_Stack_Artist
      May 06, 2022 03:18 am Reply

      it would be helpfull if u have provide the yml template file

    • blank
      Sachidananda Patra
      May 06, 2022 03:18 am Reply

      Resources:

      MyInstance:

      Type: AWS::EC2::Instance

      Properties:

      AvailabilityZone : us-east-2

      ImageId:ami-0cc2ff2b4c4608a2f (64-bit Arm)

      InstanceType:t2.micro

      – Cannot render the template because of an error.:
      YAMLException: can not read a block mapping entry; a multiline key may not be an implicit key at line 7,

      column 34: InstanceType:t2.micro ^

      I am getting above error, Could you please share your help
      Thanks.

    • blank
      Jeffrey Dillard
      May 06, 2022 03:18 am Reply

      how did you do it can you share with me , thank you

    • blank
      Kensey Auguste
      May 06, 2022 03:18 am Reply

      Hello, I also had a question regarding stacks in CloudFormation. How would I go about checking the individual cost of a stack created? I know when creating the template you can use the AWS Pricing Calculator to determine that information prior to creation, but wanted to know how to check that information after the fact. Any thoughts?

    • blank
      Ricardo Franco
      May 06, 2022 03:18 am Reply

      How do I create a cloudformation eni template?

    • blank
      Jeremy Muniak
      May 06, 2022 03:18 am Reply

      Where are the files you mention at the beginning of the video

    • blank
      amol SD
      May 06, 2022 03:18 am Reply

      U r just amazing…like video👍

    • blank
      J Pro
      May 06, 2022 03:18 am Reply

      Passed both my AWS certs thanks to you SM!

    • blank
      Nosa Okundaye
      May 06, 2022 03:18 am Reply

      Thanks for the sweet tutorial

    • blank
      Lucas Motizuki
      May 06, 2022 03:18 am Reply

      Could you provide the files used in the video?

    • blank
      Yusuf Hamid
      May 06, 2022 03:18 am Reply

      You are awesome Stephane

    • blank
      Sarah Qureshi
      May 06, 2022 03:18 am Reply

      Can you please share the location where I can download code for this lecture?

    • blank
      Dwijesh Mishra
      May 06, 2022 03:18 am Reply

      thank you sir

    • blank
      lgtv smart
      May 06, 2022 03:18 am Reply

      Will EC2 instance restarted if you are update the stack everytime?

    • blank
      Serg Mayakov
      May 06, 2022 03:18 am Reply

      How to create ec2 with defined ssh key?

    • blank
      Javier Cartagena
      May 06, 2022 03:18 am Reply

      Can you programmatically upload files to the newly created instance using CloudFormation?

    • blank
      Ardian Umam
      May 06, 2022 03:18 am Reply

      Hi, where can I download the yaml file? Thanks.

    • blank
      Kumar Chowdary
      May 06, 2022 03:18 am Reply

      Hey, I don't have much knowledge on aws can i buy this course or do i need to take any intro course before this

    • blank
      Stephen Rayner
      May 06, 2022 03:18 am Reply

      Am I the only one who noticed him speak over is mistake with Course and CloudFormation

    • blank
      FBI Secret Agent
      May 06, 2022 03:18 am Reply

      How do you tell cloudformation to deploy an application on Codestar?

    • blank
      Vkey S
      May 06, 2022 03:18 am Reply

      Hi Stephane.
      Just a quick question. As you said when I update the cloud formation stack, it deletes the old instance and creates a new instance. But I have the old instance with important services installed. The new instance doesn't have it installed.
      Any thoughts on why it is doing that?
      I saw there is another way, which is importing resources into the current stack, but we need to give a deletion policy for the modified resources.
      Any other suggestions to update just the stack template without affecting/modifying the instance?

    • blank
      Raymart Orbita
      May 06, 2022 03:18 am Reply

      Thank you stephane i learn alot from your AWS Solution Architect and SysOps course! 🙂

    • blank
      Goldie Music
      May 06, 2022 03:18 am Reply

      15 minutes. 100% information. 0% bullshit. No Indian accent. Amazing.

    • blank
      AWS Guide
      May 06, 2022 03:18 am Reply

      Thank you, sorry for noob question.. What is an Elastic IP ?

    • blank
      Aamir Ali
      May 06, 2022 03:18 am Reply

      ?? No cft this was doing everything via the console.

    • blank
      Dean Morgan
      May 06, 2022 03:18 am Reply

      Why didn't it simply modify the existing instance with new EIP and SGs?

    • blank
      Kris N
      May 06, 2022 03:18 am Reply

      Good one, thank you!

    • blank
      Syed Irfan Ashraf
      May 06, 2022 03:18 am Reply

      How to deploy a new instance from created ami

Leave us a comment