One-shot #containers with #serverless
▻https://hackernoon.com/one-shot-containers-with-serverless-10794f68fc16?source=rss----3a8144eab
Have you ever had short lived containers like the following use cases:Batch and ETL (Extract, Transform & Load) Jobs.Database backups and replication.Machine Learning algorithms for generation of learning and training models.Integration & Sanity tests.Web scrapers & crawlers.And you were wondering how you can deploy your container periodically or in response to an event ? The answer is by using Lambda itself, the idea is by making a Lambda function trigger a deployment of your container from the build server. The following figure illustrates how this process can be implemented:I have wrote a simple application in Go to simulate a short time process using sleep method:▻https://medium.com/media/fae0d07f0c64f6c8ce8ae6b2ab5d3577/hrefAs Go is a complied language, I have used Docker (...)