How to automate OCI with Terraform (2021 Edition)

128 students

Terraform is a well-known technology that implements in practice Infrastructure as a Code paradigm. Since the early days of Oracle Cloud Infrastructure (OCI), a Terraform tool has automatically deployed cloud topologies. In this zero to hero self-study course, you will learn how to build OCI infrastructures automatically using the Terraform and OCI Resource Manager platforms. You will start the journey from the most straightforward setup, with one VCN, one subnet, and one webserver compute. Further, within the following 14 lessons, you will learn how to enrich this topology with different resources such as Load Balancers, shared File Storage Services, and Databases. Ultimately you will explore the most complex configurations with VCN local and remote peering, Transit VCN routing, and cross-region DataGuard association. This self-study training will help you obtain practical experience with OCI and will be a great add-on to your theoretical knowledge learned before the OCI Associate exam. Enroll today and learn Terraform with us!

Instructor

5.00 average based on 5 ratings

5 Star
100%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Reviews

  • Pramod R.

    Great TF & OCI crash course

    Really good crash course on Terraform and OCI, specially for people who have some experience with any cloud (I had AWS) and TF.
  • johanteekens

    Awesome course

    It explains the concept in simple wording and has great examples. For me it was easy to follow.
  • HONG

    RECOMMENDED COURSE EVER

    this course had enabled me to automate infra as a code foundation and also on other cloud as well. Thanks you Martin Linxfeld for the intensive course, and i felt it worth the price.
  • Admin bar avatar

    gabrielgrigorie

    I totally recoment this course is you want to learn OCI with Terraform.

    Great explanation with very detailed information for me as the newbie OCI Cloud learner. I do really enjoy and easy to understand every single topic and Martin's demos. I would express my thankfulness to Martin who created and provided this course for helping many candidates around the world in building of OCI and Terraform integrations Thank you from Bucharest, Romania
  • nunofspsgoncalves

    Highly recommend it!

    This course truly helped me to very quickly grow my knowledge in Terraform for OCI, as well as Terraform overall. My Terraform knowledge was very limited, and this course gave me the tools I needed to explore and start writing Terraform-OCI code on my one. It's great to have both recorded videos one can view again if needed, as well as github code - really critical. Thank you, Martin & FoggyKitchen team!
$99.90 $39.90

12 thoughts on “How to automate OCI with Terraform (2021 Edition)

  1. Excellent course for the beginners. Helped me a lot to learn and understand the Terraform integration with OCI contents very well. The best thing about this course is that, everything is explained step by step so that can be easy comprehend by everyone. Thanks Martin.

    1. You need to open up terraform console and extract generated private SSH key which should be stored in the id_rsa file used for the ssh command:

      (...)
      null_resource.FoggyKitchenWebserver1HTTPD (remote-exec): Redirecting to /bin/systemctl start httpd.service
      null_resource.FoggyKitchenWebserver1HTTPD: Creation complete after 4m57s [id=785134988020833384]

      Apply complete! Resources: 10 added, 0 changed, 0 destroyed.

      Outputs:

      FoggyKitchenWebserver1PublicIP = [
      "130.61.82.244",
      ]

      martin@linxfeld-mac LESSON1_single_webserver % terraform console
      > nonsensitive(tls_private_key.public_private_key_pair.private_key_pem)
      < ^C

      martin@linxfeld-mac LESSON1_single_webserver % vi id_rsa
      martin@linxfeld-mac LESSON1_single_webserver % chmod 400 id_rsa

      martin@linxfeld-mac LESSON1_single_webserver % ssh -i id_rsa opc@130.61.82.244
      The authenticity of host '130.61.82.244 (130.61.82.244)' can't be established.
      ED25519 key fingerprint is SHA256:xWi5Xua3FjMroxEhT4jHVJccXAT7RhSkZhPdr6+8pq0.
      This key is not known by any other names
      Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
      Warning: Permanently added '130.61.82.244' (ED25519) to the list of known hosts.
      Last login: Tue Sep 27 06:48:58 2022 from 89-64-89-229.dynamic.chello.pl
      -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
      [opc@foggykitchenwebserver ~]$

Leave a Reply