EC2 instance has SQL installed - sql

How to identify if an EC2 instance has SQL installed. Through the AWS portal ?
This image is an example of where I'm looking to identify whether or not the instance has a database installed.

You cannot do that through the AWS portal as the portal has no insight into what applications you are running on your instance.
You must SSH into your instance, perhaps using Systems Manager and check is SQL is installed.
mysql -V will allow you to check if MySql is installed, other types of databases will have similar commands.
Update based on comment:
As you are installing from a preconfigured OS you can see whats included in the instance details tab from the EC2 Web Console.
Or you can run the following command from your CLI:
aws ec2 describe-instances --instance-id <your instance id> --query 'Reservations[*].Instances[*].PlatformDetails'
[
[
"Windows with SQL Server Standard"
]
]

Related

Installation of home-assistant on Oracle cloud infrastructure

I am looking for steps to home-assistant service on oracle cloud infrastructure. Is it supposed to work with the home-assistant not being installed in the LAN ?
Where can I find the steps to install and access it in OCI ?

What are the credentials for Neo4j browser

I have just installed neo4j desktop and also the server from here.
Also installed JDK.
Next I had extracted the neo4j community and then using the admin command prompt inside the bin directory at that location I had installed the service using the command
neo4j.bat install-service.
Once the services are successfully installed, I am now able to browse to http://localhost:7474/browser/
But now what? What should be the credentials to logon.
I see the following messages
Database access not available. Please use :server connect to establish connection. There's a graph waiting for you.
Connect to Neo4j
Database access requires an authenticated connection.
Default credentials are
Username: neo4j
Password: neo4j

How to access Magento bitnami on GCP database and run SQL statement

How to access Magento bitnami on GCP database and run SQL statements. I do not know where and how to connect to the Magento bitnami on GCP database and run SQL statements
Bitnami Engineer here.
You have different options to run those SQL commands:
Access the instance using a SSH connection and connect to MySQL using the command line. You will need to configure the SSH key in the Google Console in case you don't have a valid one. Then, you can access MySQL by running this command
mysql -u root -p bitnami_magento
Create a SSH tunnel to access phpMyAdmin: We configure phpMyAdmin to only be accessible using a local connection. The SSH tunnel will allow you access /phpmyadmin and you could run the SQL commands there.
https://docs.bitnami.com/google/apps/magento/administration/access-phpmyadmin/
If you need more information about how SSH works and how to access the instance, please check our documentation
https://docs.bitnami.com/google/faq/get-started/connect-ssh/

Access Google Cloud SQL from SDK Shell

I have created a PostgreSQL Instance in Google Cloud.
I can access the Instance and perform SQL actions using the Cloud Shell.
When i try to access the same from my local using the 'Google Cloud SDK Shell', it fails to connect to the instance,
C:\Program Files (x86)\Google\Cloud SDK>gcloud sql connect [my-instance] --user==user-name
Whitelisting your IP for incoming connection for 5 minutes...done.
ERROR: (gcloud.sql.connect) Could not whitelist client IP. Server did not reply with the whitelisted IP.
I have replaced my-instance and user-name with correct entries
Can someone guide me on how to access this database from my local SDK shell and not using the Cloud shell ?
There are some options to connect to your SQL instance depending on the client that you use, some of them are: Compute Engine, App Engine, mysql client, External applications.
I think your machine could be considered an external application, so you have to follow this guide to authorize your Windows client machine. However, the recommended way is using the cloudsqlproxy since it will free you from whitelisting all connections.
Hope it help you!

How to configure WinRM for azure virtual machine in resource manager portal

I have created a VM in azure resource manager portal using powershell. How to configure WinRM in VM for remote access using powershell. Thanks in advance.
This can be done by adding a custom script extension when deploying the VM. An example can be found here.
To add this to an existing VM, just copy the ConfigureWinRM.ps1, makecert.exe and winrmconf.cmd files from the same quickstart folder and execute the powershell script.