Giter Club home page Giter Club logo

companieshouse.ocr-api-stack's Introduction

ocr-api-stack

Infrastructure for the ocr-api service stack.

This consists of one ECS Cluster with one microservice (ocr-api)

Performance Variables

These are configured in the profile environmental vars files (no defaults set):

Variable Description
ec2_instance_type See [AWS Instance Types)[https://aws.amazon.com/ec2/instance-types/]
number_of_tasks The number of instances of the ocr-api task to run
machine_cpu_count The number of vCPUs the ocr-api uses.
machine_amount_of_memory_mib The amount of memory in MiB to allocate to the ocr-api.
ocr_tesseract_thread_pool_size The number of threads used in the ocr-api application for Tesseract processing (Image to text)

** Make sure that the CPU and Memory values are in the range of the ec2_instance_type (the plan will be made and applied but fail in deployment with no clear error messages).

Internal / external naming

Notes on the internal / external naming:

  • internal = DNS names within the AWS cluster that are only used for traffic within (internal to) the environment
  • external = DNS names exposing specific services to users outside (external to) the cluster e.g. other CH services, testers etc
  • so its not a public/private thing its how functionality/services are used - within the cluster is internal DNS, outside users require the external address.

Secrets

No secrets are required in this application stack

companieshouse.ocr-api-stack's People

Contributors

stevehicksch avatar amyatt1ch avatar ljgeorge 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.