All Posts on Shikisoft Blog - Page 6

Setting Object Cache Durations for Your Amazon CloudFront Distributions

Cache expiry on Amazon CloudFront

Using Amazon CloudFront is crucial for the speed of your website. Because when you use CloudFront, it caches your content at AWS Edge locations to serve them to your users faster. For example, this blog’s original AWS region is Europe Frankfurt (eu-central-1) that is the closest region to my location. If I did not place Amazon CloudFront in front of my S3 bucket, all requests to this blog will be served from Frankfurt. As you would guess, this would cause slower pages for most of my readers all around the World.

Luckily, I have an Amazon CloudFront distribution in front of my blog. So, only the first reader close to an AWS Edge location will be served from this region. All subsequent requests around that Edge location will be served directly from the Edge location’s cache.

However, you will also need to update your website content. So, from time to time, CloudFront needs to expire your content on the Edge location’s cache, and check whether it was updated from the original location. In this blog post, I will talk about how to set caching times for the objects you serve from your CloudFront distributions.

Continue reading the Setting Object Cache Durations for Your Amazon CloudFront Distributions blog post.

Announcing My AWS CodePipeline Step by Step Course

AWS CodePipeline Step by Step

AWS CodePipeline is the AWS service to build and orchestrate your CI/CD workflows on AWS. Using CodePipeline with other AWS developer tools, you can model, visualize, and automate your software release process without maintaining any build or deploy servers.

Today, I am excited to announce the launch of my new course AWS CodePipeline Step by Step on Udemy! In this post, I will talk about what you will learn in this course section by section. Besides, I will also share a discount coupon special to launch in the end.

Continue reading the Announcing My AWS CodePipeline Step by Step Course blog post.

AWS CodePipeline for Your Static Websites & Frontend Apps: A Complete CI/CD Approach

CD Pipeline for Static Websites and Front End Apps on S3 with AWS CodePipeline

Whether you have a static website like this blog or a front-end application developed using a framework like Angular, React, or Vue.js, you can follow similar steps to create a continuous deployment pipeline on AWS using AWS CodePipeline. In this post, I will share the AWS services you can use while creating this type of pipelines to achieve fast and frequent deployments.

Continue reading the AWS CodePipeline for Your Static Websites & Frontend Apps: A Complete CI/CD Approach blog post.

3 Ways to Schedule AWS Lambda and Step Functions State Machine Executions

Scheduling AWS Lambda and Step Functions Executions

In addition to API development, AWS Lambda has many use cases. One of them is running some background jobs in scheduled intervals. Besides, if you need a chain of sequential or parallel AWS Lambda functions, the ideal way to orchestrate them is using AWS Step Functions.

In this post, I will talk about how to schedule your AWS Lambda functions or Step Functions state machine executions using AWS CloudWatch and EventBridge consoles as well as AWS Serverless Application Model (SAM) and CloudFormation templates.

Continue reading the 3 Ways to Schedule AWS Lambda and Step Functions State Machine Executions blog post.

Invalidating Your Amazon CloudFront Distribution Paths via AWS CLI

Invalidating CloudFront Distributions Using AWS CLI

When you make changes on your content distributed via your Amazon CloudFront distribution, you have two options for them to be visible if they are cached: You will either wait for the cache to expire or you will invalidate them to serve the changes immediately. Of course, you cannot do anything about the cached content on your users’ browsers. But in your side, everything is under your control on AWS.

In this post, I will talk about how to invalidate some paths on your Amazon CloudFront distributions using AWS CLI along with some other commands that may be helpful in the process.

Continue reading the Invalidating Your Amazon CloudFront Distribution Paths via AWS CLI blog post.