What is the AWS SDK equivalent of EC2's Run Command - ruby

AWS has a remote management capability for EC2. I am looking for the same thing, but in the Ruby SDK. I see it mentioned in the image below (See second to last sentence) but for the life of me, I can't figure out where this is in the SDK. I have googled, looked through the docs and the API. Is this just a cut and paste issue in the AWS documentation?

Run Command is part of the Simple Systems Manager Service (SSM).
Here it is in the Ruby SDK.

Related

Azure Cloud Shell w/Windows Terminal limitations?

Where can I find the limitations/differences between running Azure Cloud Shell from the browser and Windows Terminal? For example, the "code xxx" command works differently when ran in the browser (opens up the editor) and Terminal (does nothing). Or am I looking at this the wrong way?
#Ziv Rivkis - Apologies for delay in getting back to this thread. Post validation with our internal team it has been called out that we have Cloud Shell entry point limitation, which has been documented here now.
Cloud Shell entry points beside the Azure portal, such as Visual
Studio Code & Windows Terminal, do not support the use of commands
that modify UX components in Cloud Shell, such as Code.
Hope the above information helps, please let us know if you have any further queries. Thank you

Shopify CLI - Ngrok error when serving app

I am on a windows 10 machine and trying to use the Shopify App CLI to create apps, but I am running into some errors.
First I installed ruby so I could use the gem command to install the Shopify App CLI, as explained here.
When running shopify version as explained in the above documentation, I get the following output:
bash: shopify: command not found
After googling for a bit I found a solution to this problem, by running shopify.bat version. With this command I can use the CLI.
Moving on, I tried following this tutorial to create my first Shopify App. I used shopify.bat create node to create my app, moved into the folder and ran shopify.bat serve to serve my app locally.
Now the following problem arises:
It starts promising by installing ngrok:
But after waiting for a bit, I get the following output (Sorry for the screenshot, I could not get it to look normal with inline code):
What I also notice is that it uses C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/shopify-cli-1.4.0/ as the path to the CLI, but when looking on Google, most people have /home/[USER]/.shopify-app-cli/ as the path to the CLI. This path does not exist on my machine.
So I would like to know why first of all the serving of the app won't work, because ngrok can't be found, and second why ~/home/user/.shopify-app-cli does not exist.
Thanks in advance,
Mike
I think modern Windows come with Linux now. Since the Internet runs on Linux, you might find development and following tutorials much easier if you use Linux, since all these inconveniences of Windows disappear. Unless you are already super handy with all the quirks of Windows to work around their results, it could be your ticket!
That being said, I mastered this development pattern using *nix and it remains pretty advanced to actually have a smooth workflow for both localhost and production development. Ngrok itself is painful without paying for the service and using puma-dev and puma-ngrok... I laugh when I think about how those essentials running under Windows will be for you.

How to connect google cloud shell to termux app using ssh?

I am using google-cloud-shell which is basically a shell that allows us to use online cloud shell (for developing apps etc.) and provides 5gb of free storage (only for home directory).
It is a very cool thing because i don't have PC but google-cloud-shell allows me to run gradle, java, python, etc. without any issues except one issue and i.e typing response. Although it is a very good platform for learning coding but typing is insane.
If i type a character it takes about a second to be displayed on screen and it really really sucks. Now what i want is to connect this shell to termux (which is an app just like terminal in linux) with ssh or any other thing that can connect it.
NOTE: I am not using paid version of google-cloud-storage I am just using it cloud shell which is free to use.
You can use the following gcloud command to SSH into your cloud-shell from local terminal.
gcloud alpha cloud-shell ssh
You can find more details here

Certificate error while running boot2Docker

I am using boot2docker which creates a VM of linux on OSX and allows you to use regular docker.
I am following thistutorial to try and use google's recent "deep dreams" image software. There is a python implementation on github that was released and become very popular. Not knowing python or the frameworks it comes with I decided to look for a simpler way to run it. So this guy made a container in docker to run it and explains how to set it up in that link. Unfortunately I am running into a bug where it denies the IP certificate. AS you can see..
As recommended by Sabin, this is what i get when i run the curl command.

uploading ec2 instance to aws using windows

I need to upload a centOS bundle from windows cmd to AWS. How can I do that?
In ec2-api-tools ec2-upload-bundle.cmd is not present.
How can i use that command in windows cmd? Can anybody help me to solve this issue?
Thanks in advance.
You can download the tools from http://aws.amazon.com/developertools/351
this includes the windows cmd files as well.
Your point is probably that AWS says to use ec2-upload-bundle.cmd, but that file does not exist in the API tools.
Your problem is that the AMI tools are separate. Get them from Amazon EC2 AMI Tools. The tools are written in Ruby. After installing Ruby, you might have to play with the commands to get them to work on Windows.

Resources