Home » AWS

Tag Archives: AWS

Integrating AWS EKS with Anthos

Introduction Anthos allows you to attach any non-GKE Kubernetes cluster. In this article, I will demonstrate how to attach an existing AWS EKS cluster and make it part of Anthos ecosystem. Once the cluster is attached, you can view and manage it from the Anthos dashboard in the Google Cloud Console. You can also enable features like Anthos Config Management ...

Read More »

Sharing a Secret with a Tomcat Service in ECS

AWS is pretty good, with a lot of documentation. However, often you need to spot the detail you need among a bunch of documentation that’s not wrong, but isn’t quite going to cover your use case. Providing the low-level detail doesn’t always provide enough information to assemble a complete coherent solution. I’ve recently been constructing some Cloudformation deployments. We want ...

Read More »

Diagrams as Code with Python

 In my career I have noticed that often organizations are reluctant on providing Engineering teams with licenses for software to draw diagrams. In the best case scenarios MS Visio is usually the only option available, which isn’t the best experience when trying to draw modern software architectures. Several online options are available, but they require to share project details that ...

Read More »

Going Native

If I look at recent projects, I’ve used various forms of Git, a few variations on Jenkins, and the leading repository services – Artifactory and Nexus. In general, most of my recent work has been backed in some ways by AWS. Similarly, most of the services, have been self-hosted. I can’t quite bring myself to switch from GitHub or GitLab ...

Read More »

Connecting to Kibana Within an AWS VPC

java-interview-questions-answers

When you use the managed Elasticsearch service on AWS, you usually choose an encrypted connection (via KMS-managed keys), which means you can’t use just any tool to connect to your Elasticsearch cluster. In fact, in order to manually execute commands the easiest option is to use the built-in Kibana and its dev tools. However, connecting to Kibana is also not ...

Read More »

AWS SDK 2 for Java and storing a Json in DynamoDB

java-interview-questions-answers

AWS DynamoDB is described as a NoSQL key-value and a document database. In my work I mostly use the key-value behavior of the database but rarely use the document database features, however  the document database part is growing on me and this post highlights some ways of using the document database feature of DynamoDB along with introducing a small utility ...

Read More »

AWS CodeBuild Error: Unable to access jarfile

java-interview-questions-answers

Using AWS CodeBuild, I was using a buildspec that was to run an executable JAR file to execute JUnit tests. Here is my buildspec: 1 version: 0.2 env:   secrets-manager:     CLIENT_ID: AppSecrets/someapp:CLIENT_ID     CLIENT_SECRET: AppSecrets/someapp:CLIENT_SECRET phases:   install:     runtime-versions:       java: corretto11   build:     commands:       - echo $CLIENT_ID       - echo $CLIENT_SECRET       - java -jar -DclientId=$CLIENT_ID -DclientSecret=$CLIENT_SECRET junit-platform-console-standalone-1.7.0.jar -cp myapp.jar --select-package="com.wall.steve" As you can see, I ...

Read More »

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 »