#cloudfront | Amazon CloudFront (1)

The Content Delivery Network (CDN) does not only power the cloudonaut blog, but many other web applications as well.

Detecting connectivity anomalies with CloudWatch Internet Monitor

Imagine customer support informs you that some customers can no longer access your web application. Immediately you check the monitoring, but no abnormalities are visible on the dashboard. No alarm has been triggered. So, what’s the problem? The number ...

Read more

Hot off the Cloud #007: AppSync JavaScript Resolvers + IAM MFA + CloudFront CD

Here are our toughts about the latest AWS announcements as well as our lessons learned. Unbelievable, re:Invent starts in 5 days. Therefore it is no surprise that AWS announces new features at a high pace. On the one hand, we are having difficulty keep...

Read more

Authentication at the edge with Lambda@Edge and Cognito

For many years, we used a hosting partner for serving the Rapid Docker on AWS Video Course. When someone bought the video course, we created a user account with our partner. The hosting partner provided a website to watch the videos and a login form. Fo...

Read more

How to create a security group allowing traffic from CloudFront only?

It is one of those problems for which there has been no satisfactory solution for years. How do you ensure that only CloudFront is granted access to an Elastic Load Balancer - CLB, ALB, or NLB? Without the ability to restrict incoming traffic, all of Cl...

Read more

Sanction Russia: Block traffic using CloudFront Geo Restriction

Russia attacked a sovereign state this week. Most states condemn the attack and impose sanctions. Among other things, sanctions are intended to mobilize the Russian population to rise up against their aristocrat Putin. As of today, cloudonaut is no long...

Read more

Video Hosting on AWS

How to embed a video into your website? There is an alternative that looks and feels much more professional than embedding a YouTube video. Read on to learn how to host video-on-demand with the help of Amazon Web Services (AWS). First of all, deliverin...

Read more

Serving content only to logged-in users with CloudFront Signed Cookies

This blog can be accessed by anyone with access to the free Internet. It’s a public website. But many websites offer a members-only area. You have to log in to get access to parts of the website. In this blog post, I demonstrate how CloudFront can be us...

Read more

Programming your CDN: CloudFront and Lambda@Edge

Minimizing the load time of your websites and applications is essential for two reasons. First, search engines rank websites based on page load times. Second, users are impatient and might cancel loading your application to jump to a competitor instead....

Read more

Tracing an HTTP request

What to do when customers complain about high latencies or server-side errors? How to find out which part of your infrastructure is causing trouble? Is something wrong with CloudFront, the ELB, or your web application? Our video demonstrates how to use...

Read more

Caching on AWS 101

Oftentimes, the idea of adding a caching layer arises when users start complaining about the performance of an application. Adding a cache to your architecture does not solve all problems — especially when implementing that change under pressure to fix ...

Read more

Anonymize CloudFront Access Logs

Amazon CloudFront can upload access log files to an S3 bucket. By default, CloudFront logs the IP address of the client. Optionally, cookies could be logged as well. If EU citizens access your CloudFront distribution, you have to process personally iden...

Read more

How we run our blog cloudonaut.io

Now and then you ask us: How do you run cloudonaut.io? Today, I want to share some insights with you about the work and technology behind the scenes of our blog. How do we come up with new topics? How do we host this website? How do we survive to be li...

Read more

Rich Social Sharing with single page applications hosted on S3 and delivered via CloudFront

You undoubtedly heard about single page applications (SPA) written with frameworks like Angular or React. One of the benefits of this approach is the possibility to host the static files (HTML, js, CSS, etc.) on a simple storage solution like S3 and put...

Read more

WordPress on AWS: smooth and pain free

I’m not a fan of WordPress, as it is neither cloud-ready nor serverless. That’s why this blog runs on CloudFront and S3 and is built by Hexo. But 25% of all websites are proudly published with WordPress. You will learn about the easiest way to run WordP...

Read more

Pitfall: ACM Certificate with CloudFormation

Good news, CloudFormation added support for AWS Certificate Manager recently. Creating a CloudFront distribution which is using an ACM certificate is finally possible with CloudFromation as well. The following listing shows the definition of an ACM cert...

Read more