Configuring SSL for Slack App built using Bolt JS framework hosting in an AWS Ubuntu instance - ssl

Got a Slack App built using Bolt JS framework (NodeJS) - tested from the local machine using ngrok - all well. Looking to host it on AWS instance (ubuntu) - could not figure out how to configure SSL Certificates, not finding docs as well. Any help is great!!
Not finding any documentation of prior references to this topic. Maybe I am not looking at the right place. Any help in terms of docs, tutorials, or samples is appreciated.
NOTE: I am not using AWS Lambda function, rather built an App using Slack's Bolk JS framework and trying to host it on AWS instance running Ubuntu.
Any help/pointers appreciated!

Related

Deploy a Vue.js app on Google Compute Engine

I created a simple Vue.js application. I am trying to deploy it on Google compute engine(not app engine or any other), but I can't find any appropriate solution. Can anyone help me?
Have a look at App Engine. It'll be the easiest way to deploy your app without thinking about infrastructure management.
If you really want/need to use Compute Engine you should decide on your own which OS to use and then install and configure all the required software manually.
Meanwhile, I should mention Cloud Run as managed compute platform that automatically scales your stateless containers with your code.
Please update your question if you need more details.
Deployed using express server, Nginx and pm2.

EKS step for new infrastructure

How do I setup EKS for new infrastructure? We are currently using KOPS to manage kubernetes which is a big problem. We would like to move to AWS EKS.
How did we get to do this?
Kubernetes is originally developed by Google, it is open-sourced since its launch and managed by a large community of contributors. So, it's better to use GKE to deploy it.
Google Cloud Platform supports easy way to deploy using Deployment Manager + Helm. You can use TerraForm to deploy if you want.
To understand step by step GKE deployment, follow three topics below:
https://codeburst.io/google-kubernetes-engine-by-example-part-1-358dc84d425b
https://codeburst.io/google-kubernetes-engine-by-example-part-2-ee1f519a32f9
https://codeburst.io/google-kubernetes-engine-by-example-part-3-9b7205ad502f
If you want to use deployment manager together with Helm, you can follow the topic below:
https://medium.com/google-cloud/gitlab-continuous-deployment-pipeline-to-gke-with-helm-69d8a15ed910
welcome to stack overflow!
You will find a super guide here: https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html
I just checked KOPS docs and they apparently do AWS as well. I haven't worked with this tool before though.
Could you please describe a bit more what is the challenge? You can set up an eks cluster and then change your pipeline to go to the new one instead of the Google one.

How can I host REST API created by Hyperledger Fabric Composer Rest Server on ubuntu 18.04

I am new to Hyperledger Fabric. Just created a new application by following a tutorial available at https://medium.freecodecamp.org/how-to-build-a-blockchain-network-using-hyperledger-fabric-and-composer-e06644ff801d
Now I am running the application with http://localhost:8080/ on my local machine, but I need to deploy that application with a public URL/IP.
How can I do that in Ubuntu 18.04?
I am not much familiar with Apache and Ubuntu.
But I tried a way available to host the application I created in Apache from the tutorial available at: https://www.ostechnix.com/configure-apache-virtual-hosts-ubuntu-part-1/
But I am confused in between that how can I accomplish this task.
I need to host this application with a URL or either with an IP so other users on my network can access the API and use that.

How to install Laravel app to free web hosting?

I've been serving my Laravel app on my local machine (MAC OSX Maverick) via the php artisan serve command in the terminal.
How do I install it to my a free a hosting for testing? Technically, I only have a free web hosting account. This means I can't perform any command-line commands (SSH). Is there any simple way to install it? Can I just simply copy my Laravel app folder and put it on a web host?
Easiest solution: Deploy it to OpenShift using a Laravel QuickStart. OpenShift is free, gives you SSH access, and basing your app off the Laravel QuickStart should handle the more complicated configuration bits.
"Can I just simply copy my Laravel app folder and put it on a web host?"
Pretty much this is the answer. You can upload your entire Laravel application to your webserver, and it should work.
But I'll warn you now that without command-line access - your going to have issues in the future. Try and find an alternative host for your website that provides command line access

Openstack create volume via Nova API

I'm trying to build a small webapp that will handle our development environments located on an openstack infrastructure (version 2012.2.2-dev, bundled in ubuntu 12.04) and I need to create some volumes using the API (i decided to use openstack rest api). I'm able to start machines and do some other operations (everything is built based on this: http://api.openstack.org/api-ref.html). If I send the request to create a volume as explained on the api reference, i get a 404. I tried different api versions (v1), but still no success.
Thank you in advance.
What language are you coding in? You could just use an SDK for this and skip trying to talk to the API directly. See
https://wiki.openstack.org/wiki/SDKs
In newer releases of OpenStack it is preferable to make use of the Cinder API rather than Nova API.
In folsom, Cinder uses IDENTICAL API refs to Nova volume related API sets. This is because this was the first release to separate out volume management to cinder as a stand alone project. While volume API references remain in folsom it is not the default and it is not the preferred method for accessing volumes REST queries.
Check out.
http://docs.openstack.org/developer/cinder/