GithubHelp home page GithubHelp logo

fargate-scheduled-task-tech-test's Introduction

Fargate scheduled task tech test

For this challenge, we would like you to write a CloudFormation template that meets the following requirements:

  • Defines a scheduled Fargate task that runs once per minute. The Fargate task must print a Random Useless Fact obtained from this public API: https://uselessfacts.jsph.pl/api/v2/facts/random to stdout. Only the "text" portion of the API response needs to be printed.
  • The Fargate task container must be configured to send stdout to CloudWatch Logs. The reviewer of your submission will check CloudWatch Logs for the expected output.
  • The CloudFormation stack should provide the CloudWatch Log Group name associated with the previous item in it's Outputs.
  • In this repo you will also find our CloudFormation style guide, which goes over the basic CloudFormation guidelines we follow as a company. Please review those and ensure the CloudFormation template(s) you are creating follow the guidelines.
  • Be well tested!

In addition to the CloudFormation template, we would also like you to fill in the Submission Description section of this README with a brief description of what you're submitting. At a minimum, you should include a description of the architecture and how to deploy it, but feel free to include anything you feel is relevant to the reviewer.

โ—๏ธ If you're unclear about the requirements or expectations in any way, please reach out and let us know. Being inquisitive and detail-oriented will only make you look better in our eyes, so don't be shy!

Assumptions

Please assume the following conditions when creating the template:

  • The VPC/subnet(s) have already been deployed and their IDs can be provided via parameters
  • The provided subnet(s) already have access to the internet via a NAT Gateway
  • The template should not assume the existence of a default VPC.

Submission Instructions

Please create a zip file containing the CloudFormation template and any other required files and send it to Cloud303.

Please note that the reviewer will attempt to deploy your template, so please ensure that your code is portable across AWS accounts and regions.


Submission Description

This section should be filled in by the candidate

  • This is a scheduled Fargate Task Template set to make an API request to https://uselessfacts.jsph.pl/api/v2/facts/random to pull some unless facts as text every minute.
  • When deploying the stack, it required the reviewer to specifics the VPC and subnet that they will be using.
  • The reviewer might might run into some error regrading the schedule task, as I've ran into this error. But having to deploy this stack in your environment might resolve this issue.
  • This template doesn't specifics environment such as et. Dev, Staging, or Production to run this stack. It assumed that this stack will only be deploy in one environment.
  • Overall I had fun working on this and maybe if possible would like to do some code review with the reviewer to workout some debugging.

fargate-scheduled-task-tech-test's People

Contributors

tennysongeorge avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.