All Posts on Shikisoft Blog - Page 4

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.

Continue reading the Nested Stacks or Cross-stack References? Which to Organize Your AWS CloudFormation Stacks? blog 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.

Continue reading the Live! AWS CloudFormation Step by Step: Intermediate to Advanced blog 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.

Continue reading the Coming in June! AWS CloudFormation Step by Step: Intermediate to Advanced blog post.

3 Ways for Environment Variables in AWS CodeBuild Buildspecs

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 AWS CodeBuild with AWS 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.

Continue reading the 3 Ways for Environment Variables in AWS CodeBuild Buildspecs blog post.

Deploying to Amazon EFS With AWS CodeBuild & 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.

Continue reading the Deploying to Amazon EFS With AWS CodeBuild & AWS CodePipeline blog post.