Giter Club home page Giter Club logo

language-tool-ecs-fargate's Introduction

AWS CDK Stack for the LanguageTool deployment on the AWS Cloud

This repository contains a AWS CDK definition to deploy LanguageTool as containerized application container on AWS Cloud, using AWS Elastic Container Server with AWS Fargate.

LanguageTool is an Open Source proofreading software for English, French, German, Polish, Russian, and more than 20 other languages. It finds many errors that a simple spell checker cannot detect.

Deployment rely on the Dockerfile to create a Docker image from the docker-languagetool.

Infrastructure

The following infrastructure will be deployed to support the language tool execution on the AWS Cloud:

Figure 1. Infrastructure Infrastructure Diagram

Pre-requisites

For the deployment you need to have the following dependencies:

  • AWS Account
  • Docker installed on you machine
  • AWS CDK installed on you machine
  • GoLang installed on you machine
  • DNS zone delegated to Route53

Deployment

To deploy the application into the AWS Cloud, you need to configure your aws credentials.

Set the following environment variables

Variable Description
hostedZoneID Route53 hosted zone ID.
hostedZoneName Route53 hosted zone name.
langToolDomainName domain name to be used by the language
langToolAPIName subdomain to be used by the language API Access
langToolWebName subdomain to be used by the language Web Access

Example:

export hostedZoneID=ZXXXXXXXXXXXXXXXXXX2
export hostedZoneName=example.co.uk
export langToolDomainName=languagetoolv2.example.co.uk
export langToolAPIName=api
export langToolWebName=web

Initiate deployment

git clone https://github.com/mrvladis/aws-language-tool.git --config core.autocrlf=input
git clone https://github.com/Erikvl87/docker-languagetool.git ./language-tool-ecs-fargate/docker/
cd language-tool-ecs-fargate/cdk
cdk bootstrap
cdk deploy

Plugin configuration

Language Tool has a plugin for Chrome.

Grammar Checker & Paraphraser โ€“ LanguageTool

https://languagetool.org/chrome

Infrastructure Diagram

Infrastructure Diagram

language-tool-ecs-fargate's People

Contributors

mrvladis 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.