Creating CloudFront distribution for your Angular app running on the S3 bucket

If you need to deliver your application quickly worldwide, then you can try to use CloudFront.

In this short text, I’m going to show you how easy it is, using the previously deployed Angular app as an example.

Using CloudFront for the websites hosted on the S3 is also a good idea when you need to use the domain which is not registered on Route 53 but on the external provider.

Continue reading Creating CloudFront distribution for your Angular app running on the S3 bucket

Deploy your Angular application into an S3 bucket using Travis CI

In this blog post, I’m going to show you how can you set up the simple CI/CD pipeline for the Angular app.

The goal was to build the GitHub-based Angular project automatically with Travis CI and deploy it into an S3 bucket, which is used to host a static website.

Let’s begin and learn how you can set it all up yourself.

Continue reading Deploy your Angular application into an S3 bucket using Travis CI

Amazon EC2 in a nutshell [AWS Solutions Architect Associate Exam]

Amazon Elastic Compute Cloud (EC2) is the most popular computing service in AWS. It is very easy to use and lets you scale your cloud infrastructure on go.

Today I’m going to present the basic overview of that service.

So, let’s begin.

Continue reading Amazon EC2 in a nutshell [AWS Solutions Architect Associate Exam]

Amazon S3 in a nutshell [AWS Solutions Architect Associate Exam]

Amazon S3 service is probably the most commonly used service in the AWS cloud. Today I’m going to go through the basic information you’ll need to know about Amazon S3.

The format of the AWS Solutions Architect Associate Exam posts series is based on the notes I made during my preparation for the Solutions Associate exam.

The goal is to keep it simple in the form of bullet-points, easy for the quick review.

I hope you’ll find it valuable.

Continue reading Amazon S3 in a nutshell [AWS Solutions Architect Associate Exam]

Redirect e-mail on your domain quickly and free with ImprovMX and Route 53

Recently I’ve bought a domain via AWS Route 53. I wanted to set up incoming e-mails redirection from that domain into the existing e-mail server.

In this text, I’m going to show you how you can redirect your incoming e-mail messages with Route 53 for free.

Continue reading Redirect e-mail on your domain quickly and free with ImprovMX and Route 53

Get DynamoDB items from AWS Lambda function

Recently I was using DynamoDB with AWS Lambda functions and in this post I would like to share with you few recipes for querying DynamoDB tables from AWS Lambda Node.js function.

In this short post I’ll show you how to get single item and all the items from the database. Former uses query function and the latter will use scan function.

Continue reading Get DynamoDB items from AWS Lambda function

Send FCM push notifications with AWS Lambda function

Push notifications are back here again. In this case I’m going to send it from the clouds.

In this simple example I’ll use AWS Lambda function with API Gateway integration and Firebase Cloud Messaging service in order to send push notifications to the topic subscribers.

Continue reading Send FCM push notifications with AWS Lambda function

Send test FCM push notification with Amazon SNS

If you’d like to test your Firebase push notifications service or you’re considering to use another push notifications service provider you should take a look at Amazon Simple Notification Service.  You can use Amazon SNS for sending example push notifications via Firebase Cloud Messaging to your mobile application.

In this short example I’ll show you how you can send a message to a specific user of your Android application. So far I couldn’t find a solution to send messages to Firebase topics subscribers but at least you don’t have to deal with OAuth tokens.

Continue reading Send test FCM push notification with Amazon SNS