[Flounder] Meeting Saturday (tomorrow or today in NZ time) on Terraform

DL Neil NZOSS at etelligence.info
Sat Jun 18 14:38:39 AEST 2022


On 04/06/2022 01.53, Russell Coker via Flounder wrote:
> https://flounder.linux.org.au/events/flounder-june-2022/
> 
> On Saturday at 1PM Melbourne time we have the June meeting which is about 
> Terraform.  The training will be done on GCP but Terraform works on most 
> clouds (I plan to use it on AWS).  Free entry and no need to sign up.


Hi,

After Ian's talk, I've been experimenting (yes, you should have ducked
BEFORE the explosions started!).

Opened a Free Tier account at Oracle Cloud (three attempts over several
days to 'persuade' them to talk to New Zealand bank and take ?no money
from my Internet Debit Card - typical!)

Read the blog post: Create your own web presence with Oracle Cloud
Infrastructure using WordPress May 1, 2021 | 3 minute read Jeevan Joseph
(https://blogs.oracle.com/cloud-infrastructure/post/create-your-own-web-presence-with-oracle-cloud-infrastructure-using-wordpress)

It says «The Quick Start solution provides the automation to provision
the resources in your tenancy. OCI supports several industry standard
resource management tools, such as Terraform and Ansible. In this Quick
Start, you use Terraform to create and manage the resources.»

So, I thought if I went that route, Ian might let me off with a warning...

Ran it. It worked.
Tried accessing WordPress. It works!

Ah, but will it still be $free come the end of the month?
Promises, promises!

Access to WordPress is by username/password. It works.

Tried reading the Terraform Console Log...
Woke up some time later.
At the end it says:
«
generated_ssh_private_key = <<EOT
-----BEGIN RSA PRIVATE KEY-----
etc
»
- which looks very familiar. I guess I could copy that to a ~/.ssh/file.

What I can't find is the other-half - the public key.
Also, earlier in the log it does say:
«
null_resource.WordPress_provisioner (remote-exec): Connecting to remote
host via SSH...
...
null_resource.WordPress_provisioner (remote-exec):   Private key: true
null_resource.WordPress_provisioner (remote-exec):   Certificate: false
null_resource.WordPress_provisioner (remote-exec):   SSH Agent: false
null_resource.WordPress_provisioner (remote-exec):   Checking Host Key:
false
...
null_resource.WordPress_provisioner (remote-exec): Connected!
»

Thus, was the key only generated for use within the Terraform process?
- I certainly haven't used such with WordPress in the past.
-- 
Regards =dn


More information about the Flounder mailing list