Home » AWS » Page 2

Tag Archives: AWS

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 »

An AWS Elasticsearch Post-Mortem

java-interview-questions-answers

So it happened that we had a production issue on the SaaS version of LogSentinel – our Elasticsearch stopped indexing new data. There was no data loss, as elasticsearch is just a secondary storage, but it caused some issues for our customers (they could not see the real-time data on their dashboards). Below is a post-mortem analysis – what happened, ...

Read More »

Autoscaling Groups with terraform on AWS Part 3: Elastic Load Balancer and health check

Previously we set up some Apache Ignite servers in an autoscaling group. The next step is to add a Load Balancer in front of the autoscaling group. Before any steps let’s add some environmental variables to variables.tf. 1 2 3 4 5 6 7 8 9 variable "autoscalling_group_elb_name" {   type = string   default = "autoscallinggroupelb" }   variable "elb_security_group_name" { ...

Read More »