代写EMATM005/SEMATM36/SEMAM0014 Large Scale Data Engineering代做数据库编程

Resit Coursework - EMATM005/SEMATM36/SEMAM0014 Large Scale Data Engineering [ Data Science, FinTech and EwDS cohorts]

Version: 24.02.2024 v1.1

Changes:

24.02.2025 v1.1 – Initial release

Summary

This coursework is divided into two parts:

Task 1: A written task (only) to design architecture of a simple application on AWS cloud, where you are required to have a deep understanding of AWS services and how they work together within an application. The design should demonstrate your knowledge of AWS services covered throughout the entire LSDE course.

Task 2: A combined practical and written activity architecting a scaling application on the Cloud, where you will be required to use knowledge gained and a little further research to implement the scaling infrastructure, followed by a report that will focus on your experience in the practical activity together with knowledge gained in the entire LSDE course.

Weighting: This assessment is worth 100% of your total unit 20 credits.

Please note that the Category of generative AI use in assessment for this assessment falls in

Category 2: Minimal – for example, using spell and grammar checkers to help identify mistakes but

not rewrite chunks of text. More information is available onhttps://www.bristol.ac.uk/bilt/sharing- practice/guides/guidance-on-ai/using-ai-in-assessment/.

Please note that all information shown in the screenshots must be in English. The screenshots will be considered invalid if they include any text in non-English languages

Pre-requisites:

•    You must have completed the AWS Academy Cloud Foundations course set in weeks 1-8

•    You will require an AWS Academy Lab account for the practical activity. You should receive an invite when this document is released. Please contact the LSDE Unit Director if you have no invitation email or are having issues with the registration.

•    A Secure Shell (SSH) client, such as MacOS Terminal or PuTTy on Windows, for server admin.

Submission:

Via the LSDE BlackBoard coursework assessment page, submit one .pdf file (named ‘your_username.pdf, e.g. tl18303.pdf), containing:

•    A report (‘report.pdf’) in PDF format containing:

o Task 1

o Task 2

o Your AWS Academy account credentials (username, password)

In this document we provide a detailed explanation of the tasks and the approach to marking.

Task 1: (25%)

In Task 1, we require you to design the architecture for an application, “Voice2Text”, running on AWS cloud. This is a service which allows your registered users to convert their audio file to text. The application needs to meet the following requirements:

•    The application works mainly for the registered users who are in European, not globally.

•    The application should work with low latency and highly availability

•    The audio data uploaded by users can be stored. The stored audio data cannot be accessible by other users.

•    The results of the text will be automatically sent to the users by email.

You should include your own descriptions of the following, 500-800 words and no more than 2 A4 pages:

•    List the AWS services used in your design and explain in detail how these services work to ensure the high-performance, security and cost-efficiency in this application.

•    Use a diagram to demonstrate the architecture of this application, especially for showing

how AWS services interaction and your network design. Please also describe how this application works when one of your users uploads an audio file and expect to get the result via email.

You don’ t need to implement these ideas in your lab account.

Task 2: Scaling the WordPress Application (75%)

Write a report of no more than 2500 words and 18 A4 pages (there is NO minimum), including: Task A, B, C, D, E.

Overview

WordPress is by far the most popular open-source software for hosting online blogs and small-scale websites. It is a PHP application, backed by a MySQL database (NOTE: you are NOT expected to understand or modify the source code in any way).

WordPress includes a password-secured browser admin interface that enables blog posts and other content to be created, management of users, review of blog metrics, installation of extensions (known as ‘plugins’), and so on.

WordPress is typically installed on a single EC2 server, but as we saw in the Cloud Foundations course, a single server has limitations in availability, scalability, performance, etc. This can affect the speed of response (latency) and thus performance and cost (see this article).

Your task will be to take a default, minimal installation of WordPress and implement a resilient, highly available, scalable, cost effective and secure architecture for it on AWS. This will include performing load testing on your application to demonstrate improved performance under stress.

You will be required to initially set up and test the application, using instructions given with the zip download file. You will then need to identify how to scale and improve the application architecture, based on principles learned in the CF course. Finally, you will write a report covering this process, along with some extra material.

Task A – Install the Application

Ensure you have set up access to your AWS Academy Lab account and have at least $10 credit (you are provided with $50 to start with). If you are running short of credit, please inform. your instructor.

Refer to the WordPress installation instructions in the coursework.zip download on the BlackBoard site, to install and configure the application in your AWS Academy Lab account. These instructions do not cover every step – you are assumed to be confident in certain tasks, such as in the use of IAM permissions, launching an EC2 instance, etc.

You will set up a single server installation of WordPress, using a pre-built community AMI, then configure it appropriately for this assessment.

Before moving on to the next task, ensure that:

•    You can access the WordPress administration interface and can create & manage blog posts.

•    You have the required plugin(s) installed and configured.

•    You have successfully set up SSH (command line) access to the WordPress instance.

•    You have successfully set up the load testing site and run some trial load tests.

You will need to 1) give a brief summary of how the application works (without any reference to the code functionality) in this Task; 2) give details of any issues you had and whether you resolved in this Task.

[NOTE: The application and plugin code are programmed in the PHP language. You are NOT expected to understand or modify it. Any code changes will be ignored and may lose marks.]

Task B - Design and Implement Auto-scaling

Review the architecture of the existing application. Although the website is usable for one visitor (client), when run under the load tester for multiple clients the response (latency) becomes noticeably slow (5000ms / 5 seconds or more to load a page).

To better handle multiple clients, we need to add scaling to the application. This should function as follows:

•    When a given maximum performance metric threshold is exceeded, an identical WordPress instance is launched (up to 3 instances) and begins to also respond to incoming requests.

•    When a given minimum performance metric threshold is exceeded, the most recently launched WordPress instance is removed (terminated).

•    There must always be at least one WordPress instance available to respond to incoming requests when the WordPress website architecture is 'live'.

Using the knowledge gained from the Cloud Foundations course, you need to architect and implement auto-scaling functionality for the WordPress application. Additionally, you need to identify a CloudWatch performance metric to use for the ‘scale out’ and ‘scale in’ rules and provide sufficient reasons. It’s wise to review CloudWatch metrics for the EC2 service after running  the application for a while under load, to pinpoint the most appropriate metric. You can refer to the Lab 6 in Module 10, which is also for a web application.

[NOTE: The free version loader.io only provide 1mins test, so you could manually run tests continuously to show the performance of auto-scaling.]

Task C - Perform Load Testing

Once you have set up your auto-scaling infrastructure, test that it works. Set (edit) the test in the load tester to use initially 250 clients, then 350 clients, then 500 clients.

If your autoscaling functionality is configured correctly, you should be able to achieve a latency response of about 1 second with 500 clients. If the load tester produces an error during testing, the response time is too high and you will need to fine tune your auto scaling parameters more.

Please watch and record the following behaviours and illustrate all loading tests done for optimising auto-scaling:

•    Watch the behaviour of your WordPress application, to check the scale out (add instances) and scale in (remove instances) behaviour works.

•    Take screenshots of the EC2 instance page showing launched / terminated instances along with the load tester graphs.

•    Try to optimise the scaling operation so that instances are launched quickly when required  and terminated soon (but not immediately) when not required. Note settings you used and the fastest processing time you can achieve.

•    Try using a few different EC2 instance types – with more CPU power, memory, etc. Note down any changes in processing time.

[NOTE: You are expected to list all the configurations of scaling policies and instance types and test the impact of these configurations on the performance of your auto-scaling. You should record the time for each experiment and discussion about how to optimise the operation is required.]

[NOTE: Academy Lab accounts are limited in which EC2 Types and services they can use.]

Task D - Secure and Optimise the WordPress Architecture

Based on only AWS services and features learned from the Cloud Foundations course, describe how you could re-design the WordPress application’s current cloud architecture (i.e. not changing the application’s functionality or code) to improve the architecture in the following areas:

•    Increase resilience and availability of the application against component failure.

•    Long-term backups of valuable data required.

•    Cost-effective  and efficient application for occasional  use. Processing does not need to be immediate.

•    Prevent unauthorised access.

Your description should ideally include a diagram and include the AWS services required together with a high-level explanation of features & configuration for each requirement.

[NOTE: You are NOT expected to modify the Web application.] You don’ t need to implement these ideas in your lab account.

Task E – Challenges

Basic: A newly added blog post may not always appear in a scaled architecture with multiple running instances. Could you briefly explain the reason for this issue?

High-level: Based on the services and frameworks covered in the LSDE course, describe step by step how you could resolve this issue using a relevant scalable, highly available, managed service of your choice.

[NOTE: Do not implement this idea, just explain the basic workflow of configuring this for your WordPress architecture]

Task F - Create the Final Report

Combine Task 1 and Task 2 to a singIe PDF. You will also need to give us Your AWS Academy account credentials (username, password) at the end of your report.

The report shouId be a singIe PDF. It does not need to foIIow any specific format, but you shouId use grammar and speIIing checkers on it and make good use of paragraphs and sub-headings. DoubIe- spacing is not required. Use diagrams where they make sense and incIude captions & references from the text.

[IMPORTANT: All text not originally created by you must be cited, leading to a final numbered reference section (based on e.g. the British Standard Numeric System) to avoid accusations of plagiarism.]

[IMPORTANT: Disable autoscaling at end of each lab session: Desired capacity = 0 ; Minimum capacity = 0. This saves credit and avoids multiple instances from launching and terminating when starting / stopping a lab session]



热门主题

课程名

mktg2509 csci 2600 38170 lng302 csse3010 phas3226 77938 arch1162 engn4536/engn6536 acx5903 comp151101 phl245 cse12 comp9312 stat3016/6016 phas0038 comp2140 6qqmb312 xjco3011 rest0005 ematm0051 5qqmn219 lubs5062m eee8155 cege0100 eap033 artd1109 mat246 etc3430 ecmm462 mis102 inft6800 ddes9903 comp6521 comp9517 comp3331/9331 comp4337 comp6008 comp9414 bu.231.790.81 man00150m csb352h math1041 eengm4100 isys1002 08 6057cem mktg3504 mthm036 mtrx1701 mth3241 eeee3086 cmp-7038b cmp-7000a ints4010 econ2151 infs5710 fins5516 fin3309 fins5510 gsoe9340 math2007 math2036 soee5010 mark3088 infs3605 elec9714 comp2271 ma214 comp2211 infs3604 600426 sit254 acct3091 bbt405 msin0116 com107/com113 mark5826 sit120 comp9021 eco2101 eeen40700 cs253 ece3114 ecmm447 chns3000 math377 itd102 comp9444 comp(2041|9044) econ0060 econ7230 mgt001371 ecs-323 cs6250 mgdi60012 mdia2012 comm221001 comm5000 ma1008 engl642 econ241 com333 math367 mis201 nbs-7041x meek16104 econ2003 comm1190 mbas902 comp-1027 dpst1091 comp7315 eppd1033 m06 ee3025 msci231 bb113/bbs1063 fc709 comp3425 comp9417 econ42915 cb9101 math1102e chme0017 fc307 mkt60104 5522usst litr1-uc6201.200 ee1102 cosc2803 math39512 omp9727 int2067/int5051 bsb151 mgt253 fc021 babs2202 mis2002s phya21 18-213 cege0012 mdia1002 math38032 mech5125 07 cisc102 mgx3110 cs240 11175 fin3020s eco3420 ictten622 comp9727 cpt111 de114102d mgm320h5s bafi1019 math21112 efim20036 mn-3503 fins5568 110.807 bcpm000028 info6030 bma0092 bcpm0054 math20212 ce335 cs365 cenv6141 ftec5580 math2010 ec3450 comm1170 ecmt1010 csci-ua.0480-003 econ12-200 ib3960 ectb60h3f cs247—assignment tk3163 ics3u ib3j80 comp20008 comp9334 eppd1063 acct2343 cct109 isys1055/3412 math350-real math2014 eec180 stat141b econ2101 msinm014/msing014/msing014b fit2004 comp643 bu1002 cm2030
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图