AWS Developing
General Process of Creating Java Code Examples
PDF of Class Material
AWS_CERTIFIED_DEVELOPER_ASSOCIATE_GUIDE (2)
Main screen Eclipse with AWS Toolkit
Cloud Formation Templates- Cloud Watch Log ETC
AWSCloudFormation-samples (1)eastoh
AWSCloudFormation-sampleseastva
AWSCloudFormation-samples (3)westoregon
AWSCloudFormation-samples (2)west
Download the AWS Toolkit for Visual Studio
Setting Up The AWS Toolkit for Visual Studio
Section 1 Lab
- Create AWS Account
- Download and install eclipse
- Navigate to Download eclipse for Java 64 bit for windows here
Section 2 Lab
1. Instructions for configuring eclipse and the AWS Toolkit
- From the aws console in IAM write down your access key and secret key from the AWS IAM dashboard for your user
- After installing eclipse go to Help -Eclipse Marketplace and search for AWS or click on the option on the main page to launch eclipse marketplace
- The AWS Toolkit should be available for installation select the aws toolkit
- When installing the AWS toolkit, select all AWS services except RDS uncheck RDS and then on the next screen accept the license agreement for apache.
- Confirm and finish and restart eclipse if prompted
- Put your access key and secret access key in on reboot of eclipse
2. Instructions for creating an EBS Volume and S3 Bucket
Create an S3 bucket and upload a file
3. Create an S3 bucket with eclipse
- Navigate to Eclipse then to file-new-new project then select AWS Java Project
2. Give your project a name and select Amazon S3 Sample and select finish
3. After the project builds, Open your solution Expand the project files and src folder click on the .java file to load the solution
4. Insert breakpoints (right click toggle breakpoint) after bucket list operation (around line 112 in the code)
5. Debug or run your project as a java application
Section 3 Lab
1. Creating and connecting to an EC2 Instance-Windows
2. Creating a security group
Section 4 Lab
- Create a mysql database (connecting to the database is optional)
-
Create a ProductCatalog Table in DynamoDB
-
Open the DynamoDB console at https://console.aws.amazon.com/dynamodb/.
-
Choose Create Table.
-
In the Create DynamoDB table screen, do the following:
-
In the Table name field, type
ProductCatalog
. -
For the Primary key, in the Partition key field, type
Id
. Set the data type toNumber.
-
-
When the settings are as you want them, choose Create.
-
- Run a dynamodb sdk project in eclipse
- Navigate to Eclipse then to file-new-new project select AWS Java Project
2. Give your project a name and select Amazon Dynamodb Sample and select finish
3. After the project builds, Open your solution, Expand the project files and src folder click on the .java file to load the solution.
5. Debug or run your project as java
Section 5 Lab
Part 5 Lab Instructions
1.Use cloudwatch to work setup monitoring and alerts
2. From the IAM console create a group, user and role
3. Deploy and application package to elastic beanstalk
Elastic Beanstalk Sample Deployment File
Deploying a New Application Elasticbeanstalk
Section 6 Labs
Section 7 Labs
- Creating An SQS Queue
- Sending A Message To An SQS Queue
- Create an SQS Eclipse Solution
- Navigate to Eclipse then to file-new-new project select AWS Java Project
2. Give your project a name and select Amazon Simple Queue Service Sample and select finish
3. After the project builds, Open your solution
4. Run your project as java
Section 8 Lab
-
Run a Serverless "Hello, World!"
- Optional Lambda lab API Gateway Endpoint with Lambda integration
3. Optional API gateway Lab- https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-api-from-example.html
Using AWS CLI
Interact with S3 from Amazon CLI
AWS Command Line Documentation Per Service
15 Essential Amazon AWS EC2 CLI Command Examples
AWS CLI: 10 Useful Commands You May Not Know
Clean up activities
Pricing Tools
https://calculator.s3.amazonaws.com/index.html
https://www.promptcloud.com/ec2-ondemand-vs-reserved-instance-pricing.php
AWS Free Digital Training Library