Aws shiny server9/3/2023 Create an ECR repo called rshiny-base on ECR.Create Dockerfile.base that just pulls FROM rocker/shiny on Docker Hub (or rocker/shiny-verse to also make the tidyverse available) and installs any additional R packages your apps need.mkdir apps and then put a “Hello, World!” Shiny app in there.mkdir new-shiny-app-repo & cd new-shiny-app-repo.The AWS Elastic Beanstalk CLI ( brew install awsebcli).ECR: Elastic Container Registry, an AWS service that hosts Docker images. ![]() EB: Elastic Beanstalk, an AWS service that serves web applications like web sites and REST APIs. ![]() Which I have done successfully in the past using CodePipelines.īut this post is just a “Hello, World!” and I’ll leave that part to you. You can also automate the rocker image build with AWS CI/CD services, The idea is the in-region data transfer across AWS services Push it to AWS’s own Docker image repository called ECR, My solution, which appears to be pretty stable, Note that I could not get this to work when pulling rocker’s image fromĭockerhub directly within Elastic Beanstalk. ![]() The time consuming parts are Docker image data transfer, server start overheads, and of courseĪny software installation and account signups that you need. That serves your own set of custom Shiny apps This is a fast way to stand up a Shiny server in the cloud rshiny-base:latest COPY apps /srv/shiny-server CMD Overview
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |