The setup You want to generate Letsencrypt certificates using DNS-01 challenge (e.g. wildcard certificates) and you host your domain on Oracle Cloud. Your code is in Python and you want to use certbot-dns-oci for updating the TXT DNS records for the DNS-01 challenge. The problem You need to provide some OCI credentials to certbot-dns-oci and… Continue reading Creating API credentials for certbot-dns-oci
Tag: oracle-cloud-infrastructure
Automate connecting to temporary and rotating development servers
I rotate a lot of short-lived VPS instances for testing and development. A lot of them are hosted with Oracle Cloud free tier, and so rotating them is effortless: they are all created using the same instance configuration, recognize the same SSH keys etc. On my Mac OS, however, it took me a while to… Continue reading Automate connecting to temporary and rotating development servers
Oracle Cloud FreeBSD: LaunchInstance NotAuthorizedOrNotFound
I created an instance configuration on Oracle Cloud based on FreeBSD-14.2-RELEASE-arm64-ufs image (could have been any other FreeBSD). When launching an instance from this configuration, I got: Error returned by LaunchInstance operation in Compute service.(404, NotAuthorizedOrNotFound, false) Authorization failed or requested resource not found. The likely problem is some value is missing in the instance… Continue reading Oracle Cloud FreeBSD: LaunchInstance NotAuthorizedOrNotFound
Recovering an Oracle Cloud instance
Use case: you have an Oracle Cloud instance but lost SSH access to it. To recover access, you need to know which pubkey you used on it, or which port SSH is listening on. Or, you don’t want to terminate it before you make sure it doesn’t contain important data. Solution: you will have to… Continue reading Recovering an Oracle Cloud instance
Cheapest MySQL database hosting for a hobby project?
If you search for cheapest mysql database, you will get results on Reddit, where the most common advice is to get a Digital Ocean VPS for $5/mo. Cheapest mySQL hosting? Which is the cheapest MySQL hosting in cloud? Cheap database hosting for hobbyist? While $5/mo. is kind of cheap, it’s not the cheapest. Here are… Continue reading Cheapest MySQL database hosting for a hobby project?
Installing Debian on an Oracle Cloud Free Tier VPS
If you got a Free Tier VPS on Oracle Cloud and you want it to run Debian, you will not find it in pre-built OS images. Here’s how you create a custom OCI image based on Debian.