Skip to content

Instantly share code, notes, and snippets.

@keithoconnell
Last active November 18, 2021 18:16
Show Gist options
  • Save keithoconnell/7e98e68e465a421a90a517beab67d568 to your computer and use it in GitHub Desktop.
Save keithoconnell/7e98e68e465a421a90a517beab67d568 to your computer and use it in GitHub Desktop.

DevOps Technical Assignment 02

The point of this exercise is to demonstrate capabilities with some of the core technologies we use on a day-to-day basis. This is completely “open book” and meant to be done in less than two hours. All of this can be googled. If you get stuck, feel free to reach out for guidance. This is as much about the process as it is the result.

Requirements

  • Given the names of two S3 buckets in a single region (e.g. us-east-1) and a threshold size in MB, create a script or application that can copy all files greater than the threshold size from one bucket to another. We recommend doing this is Python, though other languages are also acceptable.
  • Containerize this script with Docker. The container should take the two bucket names and the threshold as arguments that will be passed on to the application.
  • Version control all of these files into a public GitHub repository. Meaningful and concise commit messages that show how you worked through this problem are a big plus.

Submission

Please reply to the email with the url of the repository.

NOTE: AWS offers a free tier of many of their services (including S3) for new accounts. If you do not have a personal AWS account, we recommend that you create an account to test out your code. None of the activities in this exercise require anything outside of the Free tier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment