Skip to main content

Posts

Opt-out For AWS Lambda Updates. Why and how?

Opt Out For AWS Lambda Updates. Why and how? Opt Out For AWS Lambda Updates. Why and how? AWS Lambda is a Serverless computing platform that enables users to run code without having to manage servers. It provides a fully managed… Opt Out For AWS Lambda Updates. Why and how? AWS Lambda is a Serverless computing platform that enables users to run code without having to manage servers. It provides a fully managed environment for executing your code, which includes runtime, operating system, and system libraries. The AWS Lambda execution environment is the environment in which your Lambda function code is executed. It is an isolated environment that has its own resources and dependencies, and it runs on Amazon Linux, a distribution of Linux specifically designed for cloud computing. AWS Lambda automatically patches the underlying infrastructure for your functions, so you don’t have to worry about managing operating system or runtime updates. This includes security patches for the ...

What is AWS Keyspaces(for Apache Cassandra)?

What is Amazon Keyspaces? And why you should consider it What is Amazon Keyspaces? And why you should consider it Amazon Keyspaces (for Apache Cassandra) is a scalable, highly available, and managed Apache Cassandra–compatible database service. Apache… What is Amazon Keyspaces? And why you should consider it Amazon Keyspaces (for Apache Cassandra ) is a scalable, highly available, and managed Apache Cassandra–compatible database service. Apache Cassandra is an open-source, distributed, NoSQL database that provides high scalability, performance, and fault tolerance. Cassandra is used to store and retrieve data in a key-value store. It is well-suited for applications such as real-time data collection, analytics, and reporting. Why Cassandra? Cassandra was developed at Facebook in 2007 and was open sourced in 2008. It was named after the mythical figure Cassandra, who had the gift of prophecy but was cursed never to be believed. This name reflects the developers’ goal of creating...

Default Encryption for new S3 Objects

Default Encryption for new S3 Objects Default Encryption for new S3 Objects Amazon Web Services (AWS) recently announced a new feature for its Simple Storage Service (S3). This feature encrypts all new objects by… Default Encryption for new S3 Objects Amazon Web Services (AWS) recently announced a new feature for its Simple Storage Service (S3). This feature encrypts all new objects by default. S3 automatically applies server-side encryption (SSE-S3) for each new object. S3 buckets that do not use default encryption will use SSE-S3 as the default encryption option. Existing buckets currently using S3 default encryption will not change. You can always opt-in for different encryption options (SSE-KMS, SSE-C). Before default encryption, users had to manually verify that encryption was enabled for the S3 bucket and make sure that it stayed that way. This could be time-consuming and prone to mistakes, as many security issues were related to S3 public access. There are several benefit...

Deploy Containers to AWS using Docker ECS Plugin

Deploy Containers to AWS using Docker ECS Plugin Deploy Containers to AWS using Docker ECS Plugin Containers are good, we love them. Amazon Elastic Container Service(ECS) is also good, and we like it, but the least likable aspects of… Deploy Containers to AWS using Docker ECS Plugin Containers are good, we love them. Amazon Elastic Container Service(ECS) is also good, and we like it, but the least likable aspects of ECS are deployments and creating necessary resources on AWS. Docker recently announced ECS integration through a new plugin that integrates Docker CLI and AWS seamlessly. For this tutorial, we are going to deploy WordPress installation using only Docker CLI with the help of the new ECS plugin. The new plugin is only available in Docker edge releases. https://www.docker.com/products/docker-desktop Let’s start by describing the Docker Compose template that we are going to use. We will be using the necessary Docker images from Bitnami. Now we can set the ECS plugin, bef...

Serverless Kubernetes with AWS EKS

Serverless Kubernetes with Amazon EKS Serverless Kubernetes with Amazon EKS The term Serverless does not mean that there are no servers involved at all. As many people are still confused with the fairly new term… Serverless Kubernetes with Amazon EKS The term Serverless does not mean that there are no servers involved at all. As many people are still confused with the fairly new term, we would like to clarify that first; Serverless is a cloud execution model in which the cloud provider runs the server, and dynamically manages the allocation of machine resources and low-level operations. The serverless model abstracts away the complexity of running distributed systems on the cloud and provides easy to use application interfaces. Serverless offerings on AWS include AWS Lambda, DynamoDB, S3 and Fargate. In this tutorial, we are going to deploy a Serverless Kubernetes cluster on Amazon Elastic Kubernetes Service(EKS) using Cloud Development Kit(CDK) and we will leverage AWS Fargate...

Create Your Own Wake-up Call Service with AWS Pinpoint, Lambda and CDK

Create Your Own Wake-Up Call Service With AWS Pinpoint, Lambda and CDK Create Your Own Wake-Up Call Service With AWS Pinpoint, Lambda and CDK Wake-up call service is exactly what you would imagine, someone will call you to wake you up and make sure that you are awake. It is still… Create Your Own Wake-Up Call Service With AWS Pinpoint, Lambda and CDK Wake-up call service is exactly what you would imagine, someone will call you to wake you up and make sure that you are awake. It is still a common practice in hotels where hotel employees will wake you up via phone call. In this tutorial, we are going to build our own version using AWS Pinpoint, Lambda and CDK. If you haven’t heard the term CDK, it means Cloud Development Kit. It is a modern Infrastructure as a Code tool from AWS, it allows us to use common programming languages to provision cloud resources. We will be using AWS Pinpoint to make outbound phone calls, Lambda function to execute Pinpoint API call to initiate an outbo...

Highly Available Wordpress Deployment on AWS

Highly Available and Scalable Wordpress Installation on AWS Highly Available and Scalable Wordpress Installation on AWS The initial version of Wordpress was released in May 2003 and it has been nearly 17 years. Wordpress is still going strong after all these… Highly Available and Scalable Wordpress Installation on AWS The initial version of Wordpress was released in May 2003 and it has been nearly 17 years. Wordpress is still going strong after all these years, according to report WordPress powers over 1/3rd of the top 10 million sites . We can safely assume that Wordpress is not going away anytime soon. Many cloud companies are now targeting Wordpress users directly with Wordpress specific hosting. Although that might sounds optimal for the average Wordpress user, these offerings have limitations and shortcomings. Most of them provide poor hardware support and scaling a Wordpress instance can become a really hard task. We would like to treat Wordpress as a web application that ...

Manage Batch Jobs with AWS Batch

Manage Batch Jobs with AWS Batch Manage Batch Jobs with AWS Batch AWS Batch allows us to run batch workloads without managing any compute resources. Although newer services such as ECS might be more… Manage Batch Jobs with AWS Batch AWS Batch AWS Batch allows us to run batch workloads without managing any compute resources. Although newer services such as ECS might be more appealing, we are going to take a deeper look at what AWS Batch provides and along the way we will deploy a sample Batch example using AWS CDK. In case you haven’t heard CDK, we would recommend checking our series of tutorials related to CDK. AWS Batch dynamically provisions the optimal quantity and type of computing resources (e.g., CPU or memory optimized instances) based on the volume and specific resource requirements of the batch jobs submitted. Spot instances can also be leveraged to save some money. After your job is finished, Batch can terminate the instances according to your needs. Let’s deploy a sim...