Marcin Jasion - Pragmatic DevOps
  • Home
  • About
  • Skills
  • Experiences
  • Accomplishments
  • More
    Presentations
  • Posts
  • Notes
  • Dark Theme
    Light Theme Dark Theme System Theme
  • Posts
  • Cloud
    • Terraform Logs
    • Terraform Parallelism
    • VPN
  • Golang
    • Golang Leader Example
  • Kubernetes
    • Istio
  • Blockchain
  • Gitlab
Hero Image
How to setup AWS Site-to-Site VPN with Unifi UDM 🔒

By default resources, you launch on the cloud (EC2, RDS, and others) cannot communicate with your local networks like home or office. To allow this you can create a Site-to-Site VPN. This VPN connection will be established between your router and AWS VPC. Creating VPN between networks is well documented. However, you can have issues configuring your home router. At home, I have Unifi Dream Machine router, which is designed for small networks, but have features which are matching advanced routers for offices. One of them is a Site-to-Site VPN using the IPSec protocol.

    Wednesday, June 29, 2022 | 6 minutes Read
    Hero Image
    How to configure parallelism in Terraform Cloud

    In my previous post I showed how to enable debug logs. Today I want to present how to improve terraform plan and terraform apply speed by configuring parallelism. Terraform by default runs 10 concurrent operations. To reduce execution time on plan or apply operation we can increase this parameter. By increasing paralellism you can hist rate limit your provider. Some cloud providers (like Cloudflare) informs about number of API request allowed in period of time. Hitting the limit can impact your deployments.

      Tuesday, June 14, 2022 | 2 minutes Read
      Hero Image
      How to enable debug and trace logs in Terraform Cloud and Enterprise

      Terraform Cloud is an application that helps teams use Terraform together. I am using it for side projects like my cloud infrastructure. Last time I had to see trace logs to find issue with one of managed resources. Terraform has detailed logs which can be enabled by setting the TF_LOG environment variable to any value. This will cause detailed logs to appear on execution. Enabling verbose logging in CLI You can set TF_LOG to one of the log levels TRACE, DEBUG, INFO, WARN or ERROR to change the verbosity of the logs. You can set this variable in two ways. First option is to set variable for shell session:

        Friday, June 10, 2022 | 2 minutes Read
        Navigation
        • About
        • Skills
        • Experiences
        • Accomplishments
        • Presentations
        Contact me:
        • hello@mjasion.pl
        • mjasion
        • Marcin Jasion

        Toha Theme Logo Toha
        © 2025 Copyright.
        Powered by Hugo Logo