Installation of home-assistant on Oracle cloud infrastructure - automation

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 ?

Related

How to connect SQL server beta (Google Cloud) to Google API engine (Node.js)

I have a node.js API that is using SQL server beta from Google Cloud SQL. Works fine when testing locally and connecting directly via IP.
I deployed the API on Google APP Engine and works fine less the connection to the database. Now, what will be the server connection string to connect directly from the project API to Google cloud - SQL server beta. How I can make use of instance connection name? (Note: Cloud SQL Admin API is enabled for this project)
I found many examples to connect for mySQL instances, but none to an SQL beta.
How to connect SQL server beta (Google Cloud) to Google API engine (Node.js) ?
As Eugen point out, Cloud SQL instance that are using SQL server are still in beta and therefore, many features are not yet available.
As stated here there's still no option to connect to a Cloud SQL SQL server instance from App Engine. Neither it seems to exist options to connect from external application such as Kubernetes or Compute Engine, as seen here.
Nonetheless, you could try to connect to your SQL server instance by using the Cloud SQL proxy to do local testing, as shown here.
Then, you could try to use some node.js library that can act as a node.js library, as this one for example, but I can not confirm that I will work within App Engine.
Nonetheless, if you have the option, I highly recommend you to use Cloud SQL instance using MySQL or PostgreSQL since they support connection from App Engine apps, as seen here.
I hope this helps.

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!

Can I use NAS to access database on a network?

I want to ask if I can use NAS to store the main database like for example Firebird or MySQL and access this database from network ? if so how to install the database server software ?
Sure!
What's your nas model?
For example in my Synology i can enable web server and install mysql + phpmyadmin just in few clicks.
I just need to access in the admin panel and using the PacketManager start installing the software.
I'm sure it's possible to do the same with Qnap.
A "NAS" is simply Network Attached Storage. A personal example is the Western Digital My Cloud. You can use it to host the data files themselves, but no software can be installed.
There are networked solutions that are basically mini servers. They have slimmed down versions of a Linux build that run web servers, database servers and the like. I do not have any examples to provide since I do not have the need for one, but I know they are out there from prior research.
To learn about what a NAS is, you can check out the Wikipedia article.
NAS is basically just storage, it doesn't really run a useful OS. You need a server to host MySQL or similar DB. You can install MySQL on a Windows, Mac or Linux OS, the DB file(s) would reside on those machines and the MySQL services would respond to API requests appropriately. Here are some links to installing MySQL:
Windows - http://www.iis.net/learn/application-frameworks/install-and-configure-php-on-iis/install-and-configure-mysql-for-php-applications-on-iis-7-and-above
Linux - https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu

raspberrypi2 - How to install GUI for windows 10 IoT

I have installed Linux on the pi before. I now need to install windows 10 for IoT. Whats the best way for me to do it?
I know that I can connect using powershell. Is there a GUI for controlling it?
Thank you
To install IoT core easily on a Pi there is a tool from Microsoft called the
IoT Core Dashboard.
This tool is an easy to use setup wizard that will format and install the Win10 IoT image.
Once the installation is finished you can access the dashboard of your pi through the browser from this tool or by typing in the local IP address.
There is an easy to use guide for installation found here: Getting Started
You may also connect using powershell after your initial setup: Connect with PowerShell

Azure WebApp - Test Hybrid Connection from Kudu Console

I have an Azure web app that has some Hybrid Connections setup. I'd like to be able to prove they are working from the KuDu cmd interface.
Unfortunately telnet is not installed as part of the Azure WebApp OS (Win Server 2012) and I seem to have limited permissions.
Can anyone help?
Specifically I want to make sure I can relay to an email server, so telnetting to the port would be very useful.
Kind regards
Si
Can you try tcpping instead? tcpping is installed and available for use from the Kudu console.