Skip to main content

Posts

Showing posts from August, 2019

DNS Failover with Route53

DNS Failover with Route53 DNS Failover with Route53 Route 53‘s DNS Failover feature gives you the power to monitor your website and automatically route your visitors to a backup site if it… DNS Failover with Route53 Route 53 ‘s DNS Failover feature gives you the power to monitor your website and automatically route your visitors to a backup site if the main target is not healthy. To showcase this feature, we are going to deploy an application, which we built in this blog post , to two different AWS regions. We are also going to set active-passive failover in Route53, then we will remove the application from one region and we’ll observe how DNS queries will react to the changes. AWS describes the failover scenarios in 3 different categories Active-passive : Route 53 actively returns a primary resource. In case of failure, Route 53 returns the backup resource. Configured using a failover policy. Active-active : Route 53 actively returns more than one resource. In case of failure...

URL Shortener with DocumentDb(MongoDB Compatible), Lambda and CDK

Create and Deploy Simple URL Shortener with AWS CDK and DocumentDB Create and Deploy Simple URL Shortener with AWS CDK and DocumentDB In this tutorial we will walk you through creating and deploying a simple URL shortener application using AWS CDK, DocumentDB, Lambda and… Create a Simple URL Shortener with AWS CDK and DocumentDB In this tutorial, we will walk you through creating and deploying a simple URL shortener application using AWS CDK , DocumentDB , Lambda and API Gateway . DocumentDB is a document database which is fully compatible with MongoDB 3.6 API . DocumentDB takes lots of inspiration from other AWS Database Services, in which storage and compute layers are separated. This allows fairly simple scalability and high-performance throughput. CDK is a new way to manage AWS resources using common programming languages. Let’s get started. In case you haven’t installed AWS CDK yet, here is how to do it. npm install -g aws-cdk Let’s build the application logic first This ...