PFB
Microsoft Word - Assignment 1.docx CSC73001 – Cloud Systems Development Assignment 1 Assignment 1: S3 and DynamoDB Exercise Due Date: 14 August 2020 at 11.00 pm Submission Method: Blackboard Weight: 25% of Overall Grade Type: Individual CSC73001 – Cloud Systems Development Assignment 1 Overview: In Assignment 1, students are expected to demonstrate their level of understanding and skill attained through practicing the workshops from week 2-4. The assignment has two parts (Part A: 12%, Part B: 13%). Environment Setup: You need to use the AWS Educate (classroom) account created for you, along with Cloud9 as development environment as well as S3 and DynamoDB as AWS services. You will find these tools by AWS Console in your classroom account. It is expected that you already have completed the setup of the development environment (e.g., installing java, AWS SDK, maven etc.), following week 2 workshop document on Cloud9. You need to use AWS SDK v2.5 of both S3 and DynamoDB for completing this assignment. Other version of the SDK will not be accepted. Part A (12%): 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 would be pchakrab15-a1-s3bucket). Update the Block public access and the Bucket Policy, so that the bucket objects are publicly accessible. • Create an app in Cloud9 with maven using appropriate commands shown in workshop. The app should have the following characteristics: o App/project name: your SCU usernamea1s3app (e.g., mine one would be pchakraba1s3app). 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 program needs the following capabilities. Your program must include proper exception handling (try- catch statement). Your program should: o Create an object into the newly created empty S3 bucket. This object would actually be 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 your full 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 the content into another local (in-app) .txt file. o You must create two separate methods in App.java to implement these two tasks described 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 testing by 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 Development Assignment 1 Part B (13%): Create a new Java app using maven in Cloud9 that can insert and update DynamoDB entry. 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 be pchakraba1ddbapp). 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 must include proper exception handling (try-catch block). Your program needs the following capabilities. It should: o Insert (create) five entries with appropriate values into the ‘Car’ table you have created. You must use loop to insert these entries. o Reading all existing items from the table and displaying the values for each item on the console. o You must create two separate methods in App.java to implement these two tasks and then call them into your main method. NOTE: Do not delete the database table and the command history, as the marker will check your program against that. Submission Checklist: You need to use the classroom account for completing this assignment and share your username and password for this account with us. The marker will login to your classroom account and check your apps there. The marker will also check the command history to make sure that you have used the classroom account console to complete the apps. Your app will not be marked if they do not comply these requirements. You have to zip the app project folders and submit them in Blackboard 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 you applying through Blackboard, as note. WARNING! Plagiarism is an academic misconduct and would be reported to the misconduct committee in this unit. Your program must be developed by yourself and should be original (not copied from web or friend). Please find details on plagiarism and other academic misconducts in this link: https://www.scu.edu.au/media/scueduau/staff/teaching-and-learning/ctl-document-downloads/as- academic-integrity-guides/Student-Academic-Misconduct-an-Introduction.pdf. Web Site Planning and Architecture Re-Design COMP 1115 Assignment 1: MS Project Winter 2020 You will be developing your own project for this assignment. Please choose a project (e.g., event, small renovation, website development) with at least three workers including yourself (assume everyone will be paid at least Minimum Wage). Review the slides, book and Lynda.com videos as necessary. This project will be strictly marked on the logical and consistent choices you make in thinking through your project. Make sure that everything is labeled correctly and logically. Anyone should be able to look at the project file and understand it without any help. You will hand in the project file from your computer. You will also have to answer some questions below in a short written printout and include printouts of the Reports requested. Please type or write answers where you see lines (__) in this outline. 1. Describe your project and clearly state your goals for the project. 2. Create a Microsoft Project File for your project and name it appropriately including your full name. 3. Choose a Start or Finish date for your project. Decide if you will Schedule from Project Start Date or Schedule from Project Finish Date. Make sure your choices are in line with your Project Goal. 4. You might want to start on paper. Develop a series of tasks and sub-tasks for this project. There should be no fewer than twelve tasks with specific durations (not including Summary Tasks and milestones for example). Think about reasonable durations for your tasks. Tasks should make logical sense. Put these tasks into your project file in the correct order. Try to group them appropriately using a clear Work Breakdown Structure. Think about what kinds of dependencies you will need to link tasks with? 5. Set reasonable and logical Durations for all your tasks. COMP 1115 Assignment 1: MS Project Winter 2020 6. Create Dependencies among the Tasks. Explain any points where you included non-Finish-to-Start (FS) Dependencies. Make sure to use at least 2 such dependencies and explain why they are appropriate. 7. Include at least two Milestones. 8. Include lag or lead (negative lag) time at least twice in your project. Briefly explain your choices. 9. Schedule at least two holidays over the course of your project. 10. Include a Recurring Task in your project. 11. Create a logical Work Breakdown Structure (WBS) by creating Summary Tasks. 12. Include at least three work resources. 13. Include at least five material resources. 14. Consider logical costs for resources and any fixed costs. 15. Assign Resources to your Tasks. 16. Print out a Project Overview Report. Include it with a printout of this completed document. Be sure to include your name and student # in the header or footer (Page Setup options) of this document and the Report. COMP 1115 Assignment 1: MS Project Winter 2020 Marking scheme: Rubric Max Project goal statement 1 Start or Finish date 1 Two holidays 1 Tasks: min 12 with duration 3 Recurring task 1 WSB 2 Summary task 2 Dependency 2 Non-FS dependency 1 Non-FS dependency explanation 1 Non-FS dependency 1 Non-FS dependency explanation 1 Milestones: #1 1 Milestones: #2 1 Lag/lead #1 1 Lag/lead Explanation 1 Lag/lead #2 1 Lag/lead Explanation 1 Work resources: Min 3 2 Material resources: Mind 3 2 Cost 1 Project overview report 1 Header/footer 1 Logical, detailed and “doable” (no over allocation) 10 Total 40