From the course: AWS Certified Solutions Architect - Professional (SAP-C02) Cert Prep

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Modernization scenario, part 1

Modernization scenario, part 1

- In this scenario, we are going to look at a set of requirements around modernizing a script that does not handle S3 at scale like it did when it was first deployed. Let's go ahead and look at the scenario description. A company has a legacy workload which identifies new S3 objects for data processing. The workload uses a script which runs hourly to list objects written in the past hour and initiates the processing job on each. The script is taking too long because of the number of objects in the bucket and needs to be replaced with appropriate automation. What options are available to initiate data processing on the objects written to an S3 bucket? So what questions do we ask ourselves? Why is the script taking too long now when it historically worked just fine? And what options are available to identify newly created objects in S3? So let's take a look at the AWS command line, and a symbol command that can be used to list objects in a bucket. Starts off with aws s3 ls, and then you…

Contents