How to use Terraform and OCI – lesson 2a

Recently someone has told me, that my course is great but … it will not work in OCI’s single AD regions. Well… yeah… unfortunately that is true, but I believe we can fix it, right?… so I have introduced additional lesson2a, which is an extension to the original lesson2 where web servers have been deployed in two different ADs. In this short and additional lesson, I am deploying everything in one AD and I am using the fault domain concept, just to achieve hardware failure protection to some extent. In the video below, I am trying to show how to make all of that with Terraform. Please taste it 🙂 I hope you will like it. 🙂

Bon Appetit,

Martin, The Cook.

How to use Terraform and OCI – lesson 7a

A few days back I have written a post about a new feature in OCI related to the DBSystem. Now you can change the shape of your VM where your database is deployed. This level of elasticity is crucial. But what to do in case of a Disaster Recovery scenario. What to do when one AD is not working properly. In that case, you can deploy DataGuard technology. In the on-prem era it was somehow complicated. I do remember well how much time does it has taken to the setup primary-standby database configuration. Now in OCI, it is a matter of few clicks in the Cloud Console or few lines of code in Terraform (check updated repo content in GitHub for lesson 7a).  In the video below you will see how to use this code in practice. Additionally, I will use the network security groups (NSG) approach instead of security lists (SL). Hope this dish will be very tasty 🙂

Bon Appetit,

Martin, The Cook.

 

Subscribe to get access

For now video is blocked, but you can watch it immediately when you subscribe!

How to use Terraform and OCI – lesson 10

I have returned from short vacations with the strong belief I should publish new stuff. And here it is – new lesson 10 about Transit Routing VCN. About Transit VCN I have written my first post more than year ago. By the way – details about Transit Routing VCN can be found in OCI docs here. Now it is good to create some adjustment to my previous blog post and somehow combine this knowledge with the Terraform +OCI course which has been published as a playlist on our YT channel. Lesson 10 will enhance the previous two lessons (about remote and local peering). We will add route tables (1) on the DRG attachment level and (2) on Hub VCN level for both HUBLPGs and (3) at requestor site for traffic going back to acceptor site. It seems to be very complex, but I guess you will catch the concept quickly. I hope this sophisticated dish will be tasty as the previous one.

Bon Appetit,

Martin, The Cook.

Subscribe to get access

For now video is blocked, but you can watch it immediately when you subscribe!

How to use Terraform and OCI – lesson 9

I hope you have noticed that huge news at OCI Release Notes. In February 2020 OCI global footprint has grown significantly with three new regions (Amsterdam in the Netherlands, Jeddah in Saudi Arabia and Melbourne in Australia). I am located in Europe so immediately I have requested the subscription of Amsterdam DC. So now in my tenancy, I have Frankfurt and Amsterdam regions ready to be utilized. Given this fact, it was obvious for me, I can try to set up some extension to my previous lesson, lesson 8. I could convert local VCN peering in the same region into a remote VCN peering configuration. In this new setup, my BackendServer, with all necessary cloud infrastructure, would be deployed in Amsterdam. And I have done it. So now we have brand new lesson 9 for which code is available here. There is also video, ready for you, ready to be watched! 🙂 As always I am asking kindly for subscribing to our YouTube channel. Believe me, I am planning to record more and more stuff and publish it here in a form of blog post and video blog on YT 🙂

Bon Appetit,

Martin, The Cook.

Subscribe to get access

For now video is blocked, but you can watch it immediately when you subscribe!

How to use Terraform and OCI – lesson 8

This short course, my first tutorial is going to finish… I believe we have achieved good taste of our dish, right! 🙂 Last time in lesson 7 we have created a database with OCI DBSystem. In this last lesson, we will add local VCN peering which is documented here. I hope you have found all of my lessons interesting. I am really curious about your general feedback meaning what was good or great or maybe what was missing and should be added in some form in the future (course update or additional recordings). In case of any questions, you can drop me an email at martin.linxfeld@foggykitchen.com.

Bon Appetit,

Martin, The Cook.

Subscribe to get access

For now video is blocked, but you can watch it immediately when you subscribe!

How to use Terraform and OCI – lesson 7

Oracle is well known for its database, for more than 30 years, meaning for many people on the market, the term database means Oracle and long, long nothing else. Until now in our lessons, we were far from the database. Instead, we were covering cloud networking (VCN, subnets, route tables, load balancers), security (security lists) and ultimately VMs (for web tier). Now it is a time for Oracle RDBMS database! In lesson 7 we will add DBSystem, which is Oracle’s PaaS offering. It is really simple. I guess this soup will taste fantastic!

Bon Appetit,

Martin, The Cook.

Subscribe to get access

For now video is blocked, but you can watch it immediately when you subscribe!

How to use Terraform and OCI – lesson 6

Today lesson 6, a new lesson for the new year 2020! 🙂 In the last episode, we have added NFS share to both webservers (lesson 5). But what about OCI Block Storage usage? Yes, we can set up it with Terraform as well. Here is a short video for that purpose. I hope you will find it interesting and tasty as my previous recordings.

Bon Appetit,

Martin, The Cook.

How to use Terraform and OCI – lesson 5

Yes, we are moving forward. Step by step. Our OCI infra with 2 webservers is already there under the Load Balancer umbrella (lesson 1, lesson 2 and lesson 3). In the last lesson 4 we have introduced the hidden public IP address of the webservers and infra has been split into 3 subnets. Until now Load Balancer was jumping between web nodes in a round-robin manner, serving different copies of index.html file. But in real-life scenarios, we would like to share pages and all web content from one location, right? So in this lesson, lesson 5, we will introduce a shared filesystem that will be mounted on each webserver. Our Terraform code for this lesson has been based on Oracle Cloud Infrastructure File Storage Service (OCI FSS) which is documented here. In this shared NFS filesystem, we will have only one copy of the webpages. So let’s roll… Video is available below…

Bon Appetit,

Martin, The Cook.

How to use Terraform and OCI – lesson 4

I am really happy you are here. It means you have found my course interesting enough and you are ready to wait for the next episodes from my crazy foggy kitchen. 🙂 Just to remind you, in the first lesson, we have created simple infra with one VM for a webserver. There was no redundancy, so in lesson 2 we have added second VM, second webserver. In lesson 3 we have added load balancer, just to load balance the web traffic. But there is a small problem with this setup. Public IPs of web servers are still visible. So in this lesson, lesson 4 we will hide them and my dish will be a little bit more complicated. Here you can find the latest video for lesson 4…

Bon Appetit,

Martin, The Cook.

How to use Terraform and OCI – lesson 3

If you are reading this, it means, I can say I am somehow successful in taking you on board and our adventure is getting more and more exciting… We are now in lesson 3 for the cooking mastery, right? Last time, in lesson 2,  we have added the second VM, second webserver to the OCI infra. It means we have two public endpoints and two pages terminated on each of them. It’s somehow unfortunate, as we expect to have just one URL, one endpoint to reach. That is why in lesson 3, I will introduce the public load balancer to our OCI infra setup. If you have forgotten, here you can find the repo for the training. If you like to listen and watch – keep your curiosity fresh and watch my video below.

Bon Appetit!

Martin, The Cook.