AWS Cloud + Application Development Steps using AWS SDK + Example

  • In this article we will learn How to install AWS SDK for development.
Application Development Steps using AWS SDK

What is AWS SDK?

In simple words, Amazon SDK is a Software Development Kit which consists of various tools that helps a developer creating an application for certain software, framework, hardware platform, computer system, or any other development platform. AWS SDK provides Java APIs and removes the complexity out of the coding.

How to download and install Eclipse IDE?

We can download and install Eclipse IDE from official site : https://www.eclipse.org/downloads/

Download and Install Eclipse IDE
  • In order to install AWS SDK toolkit in Eclipse, we will first install and ensure that we have Eclipse in our development environment. To do that, we’ll go and we’ll launch Eclipse. To launch Eclipse, if you have installed the recent version, which is Oxygen, you will go and click on Start, and in the search button, you will write eclipse.
Application Development Steps using AWS SDK

You’ll get Eclipse Jee Oxygen, you’ll click on it. Once you’ll click on it, Eclipse Oxygen 3A will get launched. Once it is launched, you’ll find an Eclipse Launcher dialog. In Eclipse Launcher dialog, you may change or select the Workspace and finally, you’ll click on Launch.

Application Development Steps using AWS SDK

AWS Toolkit for Eclipse 2.0

In order to install AWS Toolkit, we need to poll/browse Eclipse Marketplace.

AWS Toolkit for Eclipse 2.0

Install AWS Toolkit for Eclipse 2.0

Click on Install button for adding AWS Toolkit plugin in Eclipse. Once, we will click on Install button we will get below Confirmation window.

Install AWS Toolkit for Eclipse 2.0

Confirm Selected Features (AWS SDK)

You may select and unselect on the basis of your requirements. Here, I am selecting all the features to be installed. Click on Confirm button.

Install AWS Toolkit for Eclipse 2.0

Review and Accept License Agreements

Before accepting the terms and conditions, go through these and click on Finish button.

AWS Toolkit for Eclipse 2.0

Once, we do click on Finish button, installation will be started and we can see Software Installation progress on bottom.

AWS SDK for Eclipse 2.0

Do you trust these signers?

For Trust confirmation, you need to select it first and Click on Trust Selected button for moving forward.

Configure AWS SDK for Eclipse 2.0

Software Update, Restart Eclipse IDE

Once, Software Updated completed, we have to restart Eclipse IDE. Click on Restart Now button.

Install AWS SDK for Eclipse 2.0

Configure the AWS Toolkit with AWS account

For accessing AWS components through Eclipse AWS Toolkit, first of all we need to create a new AWS account or if already have AWS account then we can click on existing credentials link as shown below.

Configure the AWS Toolkit with AWS account

Once we will click on existing credentials, it will redirect us to AWS Sign in window for login.

Configure the AWS Toolkit with AWS account Sign in

Click on Next button, AWS Security check page will be displayed with captcha characters inputs.

Configure the AWS Toolkit with AWS account Security check

IAM : Create New Access Key

We need to generate New Access Key for establishing connection from Eclipse AWS SDK toolkit. Click on Create New Access Key button as below.

IAM : Create New Access Key

IAM : Download Access Key File

Once, key will be geneated successfully. We can see Access Key or we can download it as a file in CSV format. E.g. rootkey.csv

AWSAccessKeyId=***************
AWSSecretKey= ***************

IAM : Create New Access Key

Configure Access Key ID and Secret Access Key in AWS Toolkit

Now, we have Access Key ID and Secret Access Key for AWS Toolkit integration with AWS Account.

Configure Access Key ID and Secret Access Key in AWS Toolkit

Anonymous Collection of Analytics Ack

You may checked or unchecked Analytics Acknowledge terms and conditions. Click on Finish button.

Allow Access Key ID and Secret Access Key in AWS Toolkit

AWS Components Explorer (AWS SDK)

Now, we can see AWS Components for development in Eclipse IDE as displayed in blow screens’s snap shot.

AWS Components Explorer (AWS SDK)
AWS Components Explorer (AWS SDK)

IAM : Make Inactive or Delete Access Key

We can see the current status of Access Keys. Also, we can Make this inactive or we can Delete this if it is not required.

IAM : Make Inactive or Delete Access Key

Thank you for reading. Will add more Working Example on AWS SDK integration in my coming blogs. Keep visiting 🙂