AWS Posts

Nested Stacks or Cross-stack References? Which to Organize Your AWS CloudFormation Stacks?

Cross-stack References vs Nested Stacks

As you start using AWS CloudFormation for bigger projects, your templates and stacks get larger. Therefore, managing them gets more difficult day by day. Then, at some point, you realize that you need a way to divide your templates into smaller ones to manage them more efficiently.

AWS CloudFormation provides two methods for this, cross-stack references and nested stacks. As you may guess, each technique has different use cases and strengths. Hence, in this post, let’s discuss some of the differences between cross-stack references and nested stacks. Read more at Nested Stacks or Cross-stack References? Which to Organize Your AWS CloudFormation Stacks? post.

Live! AWS CloudFormation Step by Step: Intermediate to Advanced

AWS CloudFormation Step by Step: Intermediate to Advanced

Today, I am excited to announce my third course on Udemy, the long waited advanced-level AWS CloudFormation course, AWS CloudFormation Step by Step: Intermediate to Advanced!

This course continues from my first course, AWS CloudFormation Step by Step: Beginner to Intermediate, and teaches you more advanced features of AWS CloudFormation. If you already finished my beginner-level AWS CloudFormation course, you know that I announced the advanced course there from day 1. Now, it is finally here!

In this post, let’s talk about what you will learn in the Intermediate to Advanced course section by section. Besides, as in my previous courses, I will also share a discount coupon special to launch in the end. Read more at Live! AWS CloudFormation Step by Step: Intermediate to Advanced post.

Coming in June! AWS CloudFormation Step by Step: Intermediate to Advanced

Coming in June! AWS CloudFormation Step by Step: Intermediate to Advanced

I almost finished my AWS CloudFormation Step by Step: Intermediate to Advanced course and expect it to launch by mid-June 2021. It will be a detailed course with lots of hands-on examples. So, let’s go over its upcoming content and let me share the topics included in it.

Read more at Coming in June! AWS CloudFormation Step by Step: Intermediate to Advanced post.

Defining Environment Variables in CodeBuild Buildspec Files

Defining Environment Variables in CodeBuild Buildspec Files

AWS CodeBuild is the serverless build service of AWS, and until now, I covered various ways of using it in my previous posts. Today, I would like to talk about how to define and use environment variables in your build specification files or, in other words, buildspecs. In a build project, you can assign plain texts to your environment variables, read parameters from AWS Systems Manager Parameter Store, or retrieve secrets from AWS Secrets Manager. I will give examples to each.

Besides, you can also use CodeBuild with CodePipeline as a part of a CI/CD pipeline. We discuss how to do this in my AWS CodePipeline Step by Step course. Therefore, I will also give an example of exporting an environment variable from a build to be able to use it in a later pipeline action. Read more at Defining Environment Variables in CodeBuild Buildspec Files post.

Automated Deployments to Amazon EFS With AWS CodeBuild and AWS CodePipeline

Automated Deployments to Amazon EFS with AWS CodePipeline and AWS CodeBuild.

You can use Amazon Elastic File System (EFS) as a shared file system between your Amazon EC2 instances to benefit from its scalability and durability. You can simply deploy your files to an Amazon EFS file system and mount it on dozens of Amazon EC2 instances in the same VPC. Then, you only need to deploy to your EFS file system when you have an update.

Now, what about automating your deployments to Amazon EFS? AWS CodePipeline does not have a deploy action integrated with Amazon EFS file systems. However, your AWS CodeBuild containers can mount EFS file systems. So you can copy your files and folders directly to your EFS file system after building them. In this post, I will talk about creating CI/CD pipelines using AWS CodePipeline and CodeBuild to build and automate your content to Amazon EFS file systems. Read more at Automated Deployments to Amazon EFS With AWS CodeBuild and AWS CodePipeline post.

Online Courses

Join my Udemy courses with a discount!

AWS CodePipeline Step by Step course logo

AWS CodePipeline Step by Step

Learn how to create CI/CD pipelines using AWS CodePipeline, CodeCommit, CodeBuild, CodeDeploy, and CloudFormation. Automate your deployments to Amazon EC2 and S3.

Use the link below to enroll in this course with special discount.

Enroll Now on Udemy!

Alternatively, use NEW-SEASON-2021 coupon code during the checkout.

AWS CloudFormation Step by Step: Beginner to Intermediate course logo

AWS CloudFormation Step by Step: Beginner to Intermediate

Learn how to manage your infrastructure as code on AWS. Start creating CloudFormation stacks and writing your own templates using YAML as a beginner step by step.

This course will also be a basis for its advanced level version in the upcoming months.

Use the link below to enroll in this course with special discount.

Enroll Now on Udemy!

Alternatively, use NEW-SEASON-2021 coupon code during the checkout.

RSS

Subscribe to this blog's RSS feed

Categories