Home » AWS

Tag Archives: AWS

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 »

AWS Lambda to save data in DynamoDB

java-interview-questions-answers

In this tutorial, we will see how using AWS Lambda we can save data in Dynamo DB. Here are the steps which are required : –Create a table in the Dynamo DB with the name Employee– Create a AWS Lambda function which can save firstName and surName of an employee using a Employee POJO in the Dynamo DB– Create a ...

Read More »

AWS Lambda function with Java Pojo as Input Output Example

java-interview-questions-answers

In the previous tutorial, we saw  How to Create AWS Lambda function with Java and we passed String as input and also returned String as Output.I will recommend to go through that tutorial first, if you are creating lambda function for the first time. In this tutorial, we will see, how we can pass Java Plain old Java object(POJO) as input ...

Read More »

Deploy Quarkus application to AWS Elastic Beanstalk

java-interview-questions-answers

Elastic Beanstalk allows deploying and managing applications in the AWS Cloud without having to learn about the infrastructure that runs those applications. With Elastic Beanstalk you can run a website, web application, or web API that serves HTTP requests but you can also run a worker applications for running long tasks. The Elastic Beanstalk supports several preconfigured platforms including Go, ...

Read More »