Saturday, 7 November 2020

Create AWS serverless workflows by using the AWS SDK for Java

 You can create an AWS serverless workflow by using the AWS SDK for Java and AWS Step Functions. Each workflow step is implemented by using an AWS Lambda function. Lambda is a compute service that enables you to run code without provisioning or managing servers.



Note: You can create Lambda functions in various programming languages. For this tutorial, Lambda functions are implemented by using the Lambda Java API.

In this tutorial, you create a workflow that creates support tickets for an organization. Each workflow step performs an operation on the ticket. This tutorial shows you how to use Java to process workflow data. For example, you'll learn how to read data that's passed to the workflow, how to pass data between steps, and how to invoke AWS services from the workflow.

For details, see https://github.com/awsdocs/aws-doc-sdk-examples/tree/master/javav2/usecases/creating_workflows_stepfunctions


I (Scott Macdonald) am a Java Programmer at Amazon AWS. I work on AWS Java code that helps AWS developers. Included in this role is working with AWS Services such as S3, DynamoDB, EC2, Lambda functions, and so on.

Linked In: http://www.linkedin.com/in/scottmacdonald2010

Thursday, 24 September 2020

Creating the DynamoDB web application item tracker

 You can develop a web application that tracks and reports on work items by using the following AWS services:

  • DynamoDB to store the data
  • Amazon Simple Email Service to send email messages
  • AWS Elastic Beanstalk to host the application

Note: The AWS SDK for Java version 2 is used to access Amazon SES and DynamoDB.

The application you create is named DynamoDB Item Tracker, and uses Spring Boot APIs to build a model, different views, and a controller. It’s a secure web application that requires a user to log into the application. 

This tutorial guides you through creating the DynamoDB Item Tracker application. Once the application is developed, you'll learn how to deploy it to Elastic Beanstalk.

The following figure shows the application.


See https://github.com/awsdocs/aws-doc-sdk-examples/tree/master/javav2/usecases/creating_dynamodb_web_app.


I (Scott Macdonald) am a Java Programmer at Amazon AWS. I work on AWS Java code that helps AWS developers. Included in this role is working with AWS Services such as S3, DynamoDB, EC2, Lambda functions, and so on.

Linked In: http://www.linkedin.com/in/scottmacdonald2010

Friday, 17 July 2020

Create a Sample AWS Photo Analyzer application using the AWS SDK for Java

You can create an AWS application that analyzes nature images located in a S3 bucket by using the Amazon Rekognition service. The application can analyze many images and generate a report that breaks down each image into a series of labels. For example, the following image shows a lake.



After the application analyzes this image, it creates this data.


  • Panoramic - 99.99971
  • Outdoors - 99.99971
  • Nature - 99.99971
  • Landscape - 99.99971
  • Scenery - 99.99971
  • Wilderness - 96.90007
  • Water - 93.501465
  • Lake - 87.28128

In addition, this application uses the Simple Email Service (SES) to send a report to a given email recipient. In this tutorial, you create a Spring Boot application named AWS Photo Analyzer. The Spring Boot APIs are used to build a model, different views, and a controller. For more information, see Spring Boot - Securing Web Applications.

This application uses these AWS Services:


  • Amazon Rekognition
  • Amazon S3
  • Amazon Simple Email Service
  • AWS Elastic BeanStalk

I (Scott Macdonald) am a Java Programmer at Amazon AWS. I work on AWS Java code that helps AWS developers. Included in this role is working with AWS Services such as S3, DynamoDB, EC2, Lambda functions, and so on.

Linked In: http://www.linkedin.com/in/scottmacdonald2010

Tuesday, 2 June 2020

Creating the Amazon Relational Database Service item tracker

You can develop a secure Spring application that tracks and reports on work items by using the following AWS services:


  • Amazon Relational Database Service (Amazon RDS)
  • Amazon Simple Email Service (Java SDK v2 is used to access Amazon SES)
  • AWS Elastic Beanstalk

The application you create is named AWS Tracker, and uses Spring Boot APIs to build a model, different views, and a controller. It’s a secure web application that requires a user to log into the application. This tutorial guides you through creating the AWS Tracker application. Once the application is developed, you'll learn how to deploy it to Elastic Beanstalk.




I (Scott Macdonald) am a Java Programmer at Amazon AWS. I work on AWS Java code that helps AWS developers. Included in this role is working with AWS Services such as S3, DynamoDB, EC2, Lambda functions, and so on.

Linked In: http://www.linkedin.com/in/scottmacdonald2010