Deploy R application in AWS SageMaker RStudio - r

I have an analytics application written in R, using the Shiny package.I build the code using RStudio IDE in AWS SageMaker. Could you please guide the possible ways that I can deploy the web app in AWS and make it available in the public internet. We don't like to use ec2.
Any help would be highly appreciated.

For this, you will need RStudio Connect. Once you have a server up and running, you can connect your RStudio on SageMaker installation to that server and deploy seamlessly.
I know you say you don't like EC2, but your best bet at the moment is to follow the instructions of this blog Host RStudio Connect and Package Manager for ML development in RStudio on Amazon SageMaker on how to achieve this. It also includes CDK code, so you can kickstart and not even touch EC2 (just follow the instructions, assuming you are broadly familiar with CDK).

Related

How to deploy meteor app to DigitalOcean

I created a new app repository in Github, built on the Meteor platform. I am having significant difficulty deploying the app to my DigitalOcean droplet, however. I am trying to connect my Github repository to the droplet and to deploy that to my domain. I am trying to do this in SSH using puTTy; however, after setting up a root account and password, I am unable to log in through SSH. I receive the following error: disconnected: no supported authentication methods available (server sent:publickey)
Does anyone know why this error is coming up? I have looked through more tutorials for deploying a meteor app on digitalocean than I care to admit, but they all seem to take different approaches and many are outdated. Any advice would be greatly appreciated!
Thank you
I reckon the easiest way is to use meteor up. It's a very simple process, and you don't need to be continually sshing into your target server, with all the hassles involving ssh keys.
In my experience, once you have it set up, it's a very painless process, and you can deploy with a simple command each time.
http://meteor-up.com/
It looks after the following:
Setting up your server with docker instances
Creating SSL certs using Let's encrypt
Building your app, bundling it, transferring it
Starting the app
Rolling back if it doesn't work
There is some trust involved, but it's worth it for a seamless deployment scenario

Deploy ASP.NET Application to AWS from Visual Studio Team Service

i need some advice about continuous deployment within Visual Studio Team Service. To be honest, i am quite new in this area, so forgive this silly question because i can't find any reference for AWS but only Azure.
My idea is i can deploy asp.net application to AWS EC2 which is built from VSTS source control.
My current scenario is:
I had source control which contain asp.net application code inside VSTS.
I created build definition which build the source code and produce artifact.
I created release definition, which copy artifact to remote AWS EC2 instance.
....
I don't have any idea to continue the next step, could you give advice what i should do next ? Or any better scenario ?
Thank You.
Currently I don't see any tasks which can directly deploy to AWS, so the only way this seems possible if you create your own task or use powershell or bash along with AWS cli to deploy your artifact. The process would be something like this
Download the artifact in a release. This is default if you link the artifact.
Make sure the agent machine that you are using has AWS CLI for Powershell or AWS Shell if you are using bash.
You can then write a powershell or bash script which will utilize aws cli to deploy your artifact to AWS.
For anyone else wondering about this in the future, AWS just released the AWS Tools for VSTS to the Visual Studio Marketplace. These tools contain a number of tasks you can use to work with AWS services such as S3, CodeDeploy, Elastic Beanstalk, Lambda and CloudFormation from within a VSTS or TFS environmemt.
We also just published a blog post about using the tools to publish ASP.NET and ASP.NET Core applications to AWS from within VSTS.
There are couple of options for you. A tutorial to explain how to get this running is given below.
How to Build a CI/CD Pipeline Using AWS CodeDeploy and Microsoft Team Foundation Server (TFS)
(For hybrid/complex deployments, you can use this. You can deploy IIS websites, MSI packages, services, exe). The beauty of this is that with a single deployment you can deploy to both on premises and cloud environment.
https://www.youtube.com/watch?v=MIE0P3m9eEY
How to Integrate AWS Elastic Beanstalk with Microsoft Team Foundation Server (TFS) or (VSTS)
(for IIS websites/batch jobs you can use this)
https://www.youtube.com/watch?v=nRLZZefLDqU
How to Integrate AWS Cloudformation with Microsoft Team Foundation Server (TFS)
(fully infrastructure automation and manage infrastructure as code)
https://www.youtube.com/watch?v=WU93NJT0_3s

Can RStudio (IDE NOT server) be configured to use remote R setup?

I am transitioning my debian setup into one where all debian-repository external apps run in dedicated docker containers.
In this context rstudio, of which I am a heavy user, has me puzzled ... does anybody have insight into whether it's possible to run it as a client to remote R installation?
What is a very cool feature of RStudio is RStudio Server. You install RStudio Server on you Ubuntu server and log in to a specific port where RStudio Server is running. You then get your full RStudio interface in your web browser. This allows you to run all your R analyses from any computer that has a modern browser and an internet connection.
R then runs on the remote server, asking almost no resource from the computer you are connecting from.

Deploy Symfony2 on Amazon Web Services

I am looking for some advices about deploying a Symfony2 web application. I got introduce to Amazon EC2 few days ago and we decided to use it to deploy our app.
Actually I am basically looking for a well set up AMI to get start. I have been quite disapointed that the Elastic Beanstalk doesn't have a native support for PHP based apps.
I have been developping on a wamp server and and my app will communicate with an Oracle database also in Amazon RDS (that's why we choose Amazon ).
I have checked this website http://bitnami.org/cloud/bitnami-applications-in-the-cloud that provides a Lamp stack. What do you think about it? The point is that I am not used to Unix base OS and I would appreciate an AMI that doesn't need many configurations.
Thanks,
Swordi
Elastic Beanstalk now provides direct support for PHP.
Bitnamis CloudImages are pretty solid and well maintained, so it's an easy way to get your server up and running without too much headache as Unix beginner. Maybe their Cloud Hosting is an option, too.
On the other hand it's good to know what's powering your web applications and how this "stuff" works. Take a look at this article about building a LAMP on EC2: Building EC2 Amazon Linux with LAMP.
You can also go with this tutorial:
"Running phpMyAdmin On Nginx (LEMP) on Debian Squeeze / Ubuntu" in conjunction with Debian or Ubuntu CloudImages.
Hope that helps :)

neo4j heroku hosting

I have a web application deployed on heroku. I just introduced Neo4j as data structure and, of course, I have to integrate it in production on heroku. I read on this link http://wiki.neo4j.org/content/Neo4j_Heroku_Addon that the heroku addon for neo4j is currently on beta testing. So have looked for alternative ways and I found this link: http://wiki.neo4j.org/content/Neo4j_in_the_Cloud ... do you know if it's possible to include such integration on heroku without the addon ?Tnx
If you are a registered beta tester on heroku you can already use the add-on for free.
Of course if you want to run the Neo4j REST server on your own aws ec2 instances you can do that easily (there are also preconfigured AMI's). Please make sure that your ec2 instances run in the aws us-east region as this is where heroku's machines are located too.

Resources