---
title: "Discussion on \"Using Terraform to deploy an EC2 instance with bootstrapped Jenkins\" | Hashnode"
description: "Discussion on \"Using Terraform to deploy an EC2 instance with bootstrapped Jenkins\". What is Terraform?\nHashiCorp Terraform is a cloud-agnostic infrastructure as code (IaC) tool that allows you to create declarative configuration files and build resources from those files. Terraform can work with many different cloud platforms becaus..."
url: "https://hashnode.com/posts/using-terraform-to-deploy-an-ec2-instance-with-bootstrapped-jenkins/6445f853d85f4ec3322a3987"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Using Terraform to deploy an EC2 instance with bootstrapped Jenkins](https://sunitabachhav2007.hashnode.dev/using-terraform-to-deploy-an-ec2-instance-with-bootstrapped-jenkins?utm_source=hashnode&utm_medium=feed)

What is Terraform? HashiCorp Terraform is a cloud-agnostic infrastructure as code (IaC) tool that allows you to create declarative configuration files and build resources from those files. Terraform can work with many different cloud platforms becaus...

Apr 24, 2023 · 9 min read · sunitabachhav2007.hashnode.dev  
Read the article

-   [#terraform](https://hashnode.com/tag/terraform)
-   [#ec2-user-data](https://hashnode.com/tag/ec2-user-data)
-   [#jenkins](https://hashnode.com/tag/jenkins)
-   [#s3](https://hashnode.com/tag/s3)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[Sunita](https://hashnode.com/@sunitabachhav2007)

@sunitabachhav2007 · Dubai

  
[View profile](https://hashnode.com/@sunitabachhav2007)

I am DevOps Enginner and I am on a mission is to build a DevOps Community. Linkedin ID : https://www.linkedin.com/in/sunita-sonawane-6134378

I am DevOps Enginner and I am on a mission is to build a DevOps Community. Linkedin ID : https://www.linkedin.com/in/sunita-sonawane-61343788/

## Responses 7

Markdown supported · ⌘↵ to post

[nyt foodle](https://hashnode.com/@clamb00)

[Dec 16, 2023](https://hashnode.com/posts/using-terraform-to-deploy-an-ec2-instance-with-bootstrapped-jenkins/6445f853d85f4ec3322a3987/comment/657d680e87df3eed7bab12a4)

Your posting is really appreciated. Many relevant themes have been discussed in my readings! Your piece stood out to me in a way that the others didn't. I really hope that you will continue providing us with interesting postings like this one. [wheel spinner](https://wheelspinner.tools/)

[Kerabatslot](https://hashnode.com/@kerabatslots)

[Dec 16, 2023](https://hashnode.com/posts/using-terraform-to-deploy-an-ec2-instance-with-bootstrapped-jenkins/6445f853d85f4ec3322a3987/comment/657cea8b87df3eed7ba78c6d)

Kerabatslot merupakan situs game online terlengkap dan terpercaya di indonesia, hanya di satu tempat saja anda bisa bermain Berbagai macam permainan yang tentunya sangat menarik dan berkualitas tinggi dengan sistem engine canggih sehingga nyaman ketika bermain.

[NDIFOR JEFFERSON](https://hashnode.com/@Ndiforjefferson)

[Dec 12, 2023](https://hashnode.com/posts/using-terraform-to-deploy-an-ec2-instance-with-bootstrapped-jenkins/6445f853d85f4ec3322a3987/comment/6577d268c8238031e09591d3)

pleaase i do need help. my terraform wont let me apply my codes, kept saying error at the provider

[jeevan kumar madugula](https://hashnode.com/@jeevanmadugula)

[May 17, 2023](https://hashnode.com/posts/using-terraform-to-deploy-an-ec2-instance-with-bootstrapped-jenkins/6445f853d85f4ec3322a3987/comment/6464f8bf176347e0f056cd62)

got this error

╷ │ Error: error creating S3 bucket ACL for jenkins-artifacts-12345abc: AccessControlListNotSupported: The bucket does not allow ACLs │ status code: 400, request id: PXHPPDKRXHRA14C9, host id: 3VUNzfwvMbfA9YuyG46niYaZZRrF0N+HT/5cmAOdVlBmUrie0HbgFhTj6GLBsWdNq6HFywk7r+w= │ │ with aws\_s3\_bucket\_acl.private\_bucket, │ on main.tf line 87, in resource "aws\_s3\_bucket\_acl" "private\_bucket": │ 87: resource "aws\_s3\_bucket\_acl" "private\_bucket" {

[Sunita](https://hashnode.com/@sunitabachhav2007)

[May 18, 2023](https://hashnode.com/posts/using-terraform-to-deploy-an-ec2-instance-with-bootstrapped-jenkins/6445f853d85f4ec3322a3987/comment/6464f8bf176347e0f056cd62#reply-6465c5787bd6d2e2dc87084b)

Please refer below link and stack overflow website.

[aws.amazon.com/blogs/aws/heads-up-amazon-s3-secur…](https://aws.amazon.com/blogs/aws/heads-up-amazon-s3-security-changes-are-coming-in-april-of-2023/)

According to this, AWS changed S3 - ACL configuration in last 2-3 weeks. I will check and let you what are changes required in my current code.

Thanks for informing this error.

[Pachiy](https://hashnode.com/@Pachiy)

[May 8, 2023](https://hashnode.com/posts/using-terraform-to-deploy-an-ec2-instance-with-bootstrapped-jenkins/6445f853d85f4ec3322a3987/comment/6458f60e49a8ff3f1d35e789)

Awesomely useful in real-time learning

[Sunita](https://hashnode.com/@sunitabachhav2007)

[May 18, 2023](https://hashnode.com/posts/using-terraform-to-deploy-an-ec2-instance-with-bootstrapped-jenkins/6445f853d85f4ec3322a3987/comment/6458f60e49a8ff3f1d35e789#reply-6465c58c7bd6d2e2dc870851)

Thanks

[Sree Harsha Ananda Rao](https://hashnode.com/@Sreeharshaa)

[Apr 24, 2023](https://hashnode.com/posts/using-terraform-to-deploy-an-ec2-instance-with-bootstrapped-jenkins/6445f853d85f4ec3322a3987/comment/6446c948a0ebe4540f91fa76)

It's really good and very much aligned concept to learn.

[Sunita](https://hashnode.com/@sunitabachhav2007)

[Apr 25, 2023](https://hashnode.com/posts/using-terraform-to-deploy-an-ec2-instance-with-bootstrapped-jenkins/6445f853d85f4ec3322a3987/comment/6446c948a0ebe4540f91fa76#reply-644749b4a0ebe4540f9205de)

Thanks for appreciating my blog.

[shubhlaxmi S](https://hashnode.com/@shubhlaxmi)

[Apr 24, 2023](https://hashnode.com/posts/using-terraform-to-deploy-an-ec2-instance-with-bootstrapped-jenkins/6445f853d85f4ec3322a3987/comment/64462a16994f853a1efee2f7)

awesome very helpful

[Sunita](https://hashnode.com/@sunitabachhav2007)

[Apr 24, 2023](https://hashnode.com/posts/using-terraform-to-deploy-an-ec2-instance-with-bootstrapped-jenkins/6445f853d85f4ec3322a3987/comment/64462a16994f853a1efee2f7#reply-6446375a994f853a1efee509)

Thank you Shubhlaxmi. It really great to get motivated comments from friends.

[Yogitha K](https://hashnode.com/@Yogitha)

[Apr 24, 2023](https://hashnode.com/posts/using-terraform-to-deploy-an-ec2-instance-with-bootstrapped-jenkins/6445f853d85f4ec3322a3987/comment/64460b10994f853a1efede51)

Using cloud9 for your tasks is great learning for us Thank you for showing us new concepts daily in blogs .

Let us also know difference between cloud9 and lambda

[Sunita](https://hashnode.com/@sunitabachhav2007)

[May 18, 2023](https://hashnode.com/posts/using-terraform-to-deploy-an-ec2-instance-with-bootstrapped-jenkins/6445f853d85f4ec3322a3987/comment/64460b10994f853a1efede51#reply-6465c5a77bd6d2e2dc870860)

Thanks Yogitha. It means a lot to me.
