Home » AWS

Tag Archives: AWS

The Poison Message SQS Problem

java-interview-questions-answers

AWS’s SQS is a really reliable and performant solution for transporting requests around a system. A couple of years ago, AWS added event sourcing to it, where a Lambda function can be automatically invoked with batches of data from a queue until the queue is empty. There are lots of important considerations in tuning this, but there’s a particular problem ...

Read More »

AWS Glue – Can not create a Path from an empty string

java-interview-questions-answers

1. Overview I was receiving this error while trying to run an AWS Glue job that communicated with a DB2 11 instance: 1 Exception in thread "main" java.lang.IllegalArgumentException: Can not create a Path from an empty string As we know, AWS Glue is a fully managed ETL service that is built on an Apache Spark environment. As such, AWS Glue ...

Read More »

AWS CloudFormation: Target Group does not have an associated Load Balancer

java-interview-questions-answers

Yesterday I was using an AWS CloudFormation template to ultimately create an ECS Service (Fargate type), but also create resources including an Application Load Balancer, Target Group and IAM Roles. When the stack was being created, I received the following error: The target group with targetGroupArn arn:aws:elasticloadbalancing:us-east-1:599074885545:targetgroup/a204516-S2S-Sandbox-TargetGroup/9f4aa2eb4051a952 does not have an associated load balancer. (Service: AmazonECS; Status Code: 400; Error ...

Read More »

AWS DynamoDB version field using AWS SDK for Java 2

spring-interview-questions-answers

It is useful to have a version attribute on any entity saved to anAWS DynamoDB database which is simply a numeric indication of the number of times the entity has been modified. When the entity is first created it can be set to 1 and then incremented on every update.  The benefit is immediate – an indicator of the number ...

Read More »

Why use Cloud Computing? Advantages and Disadvantages

java-interview-questions-answers

Cloud Computing has been a buzz word in the IT world from the last few years. When it first appeared, like many things, a lot of people has dismissed it as being next big thing, but cloud computing has certainly lived up to expectation and truly shift how Information technology arm of business function today.Cloud Computing is made of two ...

Read More »

AWS Alarms for Application Errors

java-interview-questions-answers

Monitoring is key for any real-world application. You have to know what’s happening and be alerted in real time if something wrong is happening. AWS has CloudWatch for that, and gives you a lot of metrics automatically. But there are some that you have to define yourself. And then you need to define proper alarms. Here I’ll focus on hour: ...

Read More »

Destroy AWS resources: Cloud-Nuke or AWS-Nuke?

java-interview-questions-answers

So you’re working on a development account, and Terraform is stuck in a cycle, not allowing you to easily destroy the remaining resources? Enter the world of nuke CLIs ! cloud-nuke At the time of writing, I used version v0.1.16 From Gruntwork, written in Go, will not destroy as many objects as aws-nuke; has been around since May 2017 If ...

Read More »