How to choose a database on AWS

How to choose a database on AWS

How do I choose a database on AWS? How do I choose between NoSQL (Amazon DynamoDB) vs SQL (Amazon RDS)? As a software engineer, when...
How do I choose a database on AWS? How do I choose between NoSQL (Amazon DynamoDB) vs SQL (Amazon RDS)? As a software engineer, when building a serverless microservice on AWS, I will walk you through how I narrow down what the best database on AWS is for my microservice. https://youtu.be/drkBB21eKdI Database options on AWS When it comes to storing data in AWS, at the time of writing, there are over 15 different options. The options for our microservice's persistent store are the following: Amazon AuroraAmazon RDSAuroraPostgreSQLMySQLMariaDBOracleSQLServerAmazon RedshiftAmazon DynamoDBDocumentDBAmazon Keyspaces Not included here are the services for graph data and...
How to design a RESTful API on AWS

How to design a RESTful API on AWS

Have you ever asked yourself what is a REST API? How do I design a RESTful API on AWS Cloud? How do I write a...
Have you ever asked yourself what is a REST API? How do I design a RESTful API on AWS Cloud? How do I write a RESTful java microservice? As a software engineer building on AWS, I'll walk you through designing a REST API. https://youtu.be/6upZCfWuB1Q What is a REST API? A REST API is a way for clients to get/store information with an application through HTTP. This is typically what websites and mobile apps use to communicate with backends services. For example: What's today's weather in Paris? A website makes a HTTP call to a weather service with Paris as an...
Add Security Headers to your Serverless Static Site

Add Security Headers to your Serverless Static Site

Being able to create a static website hosted on AWS S3 and fronted by Amazon CloudFront has become the serverless standard these days. Both of...
Being able to create a static website hosted on AWS S3 and fronted by Amazon CloudFront has become the serverless standard these days. Both of these AWS services facilitate a lot of the heavy lifting for you by giving you performant web hosting, with features like caching at edge locations closer to your end users, and security features like mitigating DDoS attacks. One thing that required a little more effort then I'd prefer was the ability to add security headers to responses. That used to have to be done through Lambda@Edge which, while still serverless, ideally it should be reserved...
Serverless Architecture to Process a Queue

Serverless Architecture to Process a Queue

Serverless architecture can now be used to process an SQS queue. This is due to the AWS announcement adding support for SQS triggered events on...
Serverless architecture can now be used to process an SQS queue. This is due to the AWS announcement adding support for SQS triggered events on AWS Lambda. For companies embracing a serverless architecture this opens up new possibilities for event-driven architecture, streamlining batch infrastructure and much more. Before the feature launched, if you were a serverless shop that needed to process SQS messages, the only option was to use CloudWatch to trigger a Lambda function. That lambda then polled for messages and either fanned out workers or chewed threw batches of SQS messages. While this worked, it was prone to...