CSC73001 – Cloud Systems Development | My Assignment Tutor

CSC73001 – Cloud Systems DevelopmentAssignment 1Assignment 1: S3 and DynamoDB ExerciseDue Date: Week 6 Friday (11/12/2020) Week 7 Monday (14/12/2020) at 11.00 pmSubmission Method: BlackboardWeight: 25% 30% of Overall GradeType: IndividualCSC73001 – Cloud Systems DevelopmentAssignment 1Overview: In Assignment 1, students are expected to demonstrate their level of understanding andskill attained through practicing the workshops from week 2-4. The assignment has two parts (Part A:14%, Part B: 16%).Environment Setup: You need to use the AWS Educate (classroom) account created for you, alongwith Cloud9 as development environment as well as S3 and DynamoDB as AWS services. You will findthese tools by AWS Console in your classroom account. It is expected that you already have completedthe setup of the development environment (e.g., installing java, AWS SDK, maven etc.), following week2 workshop document on Cloud9. You need to use AWS SDK v2.5 of both S3 and DynamoDB forcompleting this assignment. Other version of the SDK will not be accepted.Part A (14%): Create a Java app using maven in Cloud9 to first create and then read an S3 object.Tasks• Create an empty S3 bucket named your SCU user name-a1-s3bucket (e.g., mine one wouldbe pchakrab15-a1-s3bucket). Update the Block public access and the Bucket Policy, so thatthe bucket objects are publicly accessible.• Create an app in Cloud9 with maven using appropriate commands shown in workshop. Theapp should have the following characteristics:o App/project name: your SCU usernamea1s3app (e.g., mine one would bepchakraba1s3app).o Package name: assgn1.s3app.o Jar file version: only a decimal number (e.g., 1.0).o Jar file name: Combination of your project/app name and the jar version.o Include appropriate dependency into the pom.xml.• Write a Java program in the App.java file created inside the maven app. Your java programneeds the following capabilities. Your program must include proper exception handling (trycatch statement). Your program should:o Create an object into the newly created empty S3 bucket. This object would actuallybe a .tmp file named as your SCU user name-detail.tmp, e.g., pchakrab15-detail.tmp.While creating this object/file, your program should write your details including yourfull name, student id, and number of units taken this session into the object/file.o Read the content of the object/file (just created in the step before) and save thecontent into another local (in-app) .txt file.o You must create two separate methods in App.java to implement these two tasksdescribed above and call the methods in the main method.• Find and note down the Object URL of the bucket object your app have created during testingby clicking the object.NOTE: Do not delete the bucket, bucket object your program has created, and the command history,as the marker will check your program against that.CSC73001 – Cloud Systems DevelopmentAssignment 1Part B (16%): Create a new Java app using maven in Cloud9 that can insert and update DynamoDBentry.Tasks• Create the following table into DynamoDB. The table has a single primary key, Id.Car (Id, Model, Make, Year, Colour); Model, Make, Colour: String, Id, Year: Number.• Create a new app in Cloud9 with maven using appropriate commands shown in workshop.The app should have the following characteristics:o App/project name: your SCU usernamea1ddbapp (e.g., mine one would bepchakraba1ddbapp).o Package name: au.edu.scu.ddbapp.o Jar file version: only a decimal number (e.g., 1.0).o Jar file name: Combination of your project/app name and the jar version.o Include appropriate dependency into the pom.xml.• Write a Java program in the App.java file created inside the maven app. Your program mustinclude proper exception handling (try-catch block). Your program needs the followingcapabilities. It should:o Insert (create) five entries with appropriate values into the ‘Car’ table you havecreated. You must use loop to insert these entries.o Reading all existing items from the table and displaying the values for each item onthe console.o You must create two separate methods in App.java to implement these two tasks andthen call them into your main method.NOTE: Do not delete the database table and the command history, as the marker will check yourprogram against that.Submission Checklist: You need to use the classroom account for completing this assignment andshare your username and password for this account with us. The marker will login to your classroomaccount and check your apps there. The marker will also check the command history to make surethat you have used the classroom account console to complete the apps. Your app will not be markedif they do not comply these requirements. You have to zip the app project folders and submit them inBlackboard as well. Blackboard submission list:• Zipped app folder for the S3 app (Part A).• Zipped app folder for the DynamoDB app (Part B).• Include the S3 object URL and your username-password of AWS classroom account while youapplying through Blackboard, as note. Without providing AWS account details, you will get aFail grade in Assignment 1.WARNING! Plagiarism is an academic misconduct and would be reported to the misconductcommittee in this unit. Your program must be developed by yourself and should be original (not copiedfrom web or friend). Please find details on plagiarism and other academic misconducts in this link:CSC73001 – Cloud Systems DevelopmentAssignment 1https://www.scu.edu.au/media/scueduau/staff/teaching-and-learning/ctl-document-downloads/asacademic-integrity-guides/Student-Academic-Misconduct-an-Introduction.pdf.

QUALITY: 100% ORIGINAL PAPER – NO PLAGIARISM – CUSTOM PAPER

Leave a Reply

Your email address will not be published. Required fields are marked *