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...
Monitoring a Serverless microservice with AWS X-Ray

Monitoring a Serverless microservice with AWS X-Ray

As you have probably noticed, monitoring, debugging and getting latency data for your microservices can be painful if they interact with multiple distributed services. For...
As you have probably noticed, monitoring, debugging and getting latency data for your microservices can be painful if they interact with multiple distributed services. For these types of microservices, you are usually forced to build your own performance testing application, add an inordinate amount of log statements, or simply crossing your fingers and hoping for the best. From one of AWS’s posts on the subject: “Traditional debugging methods don’t work so well for microservice based applications, in which there are multiple, independent components running on different services.” — AWS Lambda Support For AWS X-Ray As a result, AWS AWS X-Ray which,...
AWS Lambdas with a static outgoing IP

AWS Lambdas with a static outgoing IP

By Ivonne Roberts Take a spin around the technical universe, and you will see that serverless computing is all the rage these days. Serverless computing doesn’t...
By Ivonne Roberts Take a spin around the technical universe, and you will see that serverless computing is all the rage these days. Serverless computing doesn’t mean that there are no servers running your code. In the most popular use of the word, it simply means that you, the developer, don’t have to worry about it. Someone else has, and will monitor your service and make sure you have the right infrastructure and scalability in place. Public Cloud providers like AWS and Google are simplifying the process for developers to leverage this architectural design concept. Do a quick search on the...