Тёмный
No video :(

How to create S3 bucket using Terraform | Terraform AWS Cloud Tutorial 

Cloud Champ
Подписаться 118 тыс.
Просмотров 26 тыс.
50% 1

Learn how to create s3 bucket in AWS using Terraform. In this video I will explain how you can setup and create S3 bucket in Terraform using code example.
Connect with me on LinkedIn: / nasiullha-chaudhari-5a...
Terraform is an insfrastructure as code tool used to create resources on different providers like AWS, Azure, GCP and other providers.
As we are creating S3 bucket in AWS we will be using AWS Provider: registry.terra...
Official Terraform documentation for creating AWS S3 bucket aws_s3_bucket : registry.terra...
#terraform code
resource "aws_s3_bucket" "b" {
bucket = "my-tf-test-bucket12312"
acl = "private"
versioning {
enabled = true
}
tags = {
Name = "My bucket"
Environment = "Dev"
}
}
--------------------------------------------------------------------------------------------------------------------
How to become Devops engineer from scratch : • Fresher to Remote DevO...
Tutorial on How to create EC2 instance with keypair in Terraform : • How to create AWS Keyp...
create RDS Database in Terraform : • How to deploy MySQL Da...
Learn How to create VPC in Terraform : • How to create AWS VPC ...
---------------------------------------------------------------------------------------------------------------------
#aws #terraform
create s3 bucket using terraform,create aws s3 bucket using terraform,s3 bucket terraform,s3 bucket terraform example,terraform s3 bucket creation,terraform s3 bucket example,how to create s3 bucket using terraform,terraform s3 bucket module,create s3 using terraform,create aws s3 bucket,s3 bucket in aws terraform,aws s3 bucket tutorial terraform,how to create s3 bucket in aws using terraform in telugu,terraform tutorial,s3 bucket terraform code,s3 terraform demo,create s3 bucket using terraform,create aws s3 bucket using terraform,s3 bucket terraform,s3 bucket terraform example,terraform s3 bucket creation,terraform s3 bucket example,how to create s3 bucket using terraform,terraform s3 bucket module,create s3 using terraform,create aws s3 bucket,s3 bucket in aws terraform,aws s3 bucket tutorial terraform,how to create s3 bucket in aws using terraform in telugu,terraform tutorial,s3 bucket terraform code,s3 terraform demo
create s3 bucket using terraform,create aws s3 bucket using terraform,s3 bucket terraform,s3 bucket terraform example,terraform s3 bucket creation,terraform s3 bucket example,how to create s3 bucket using terraform,terraform s3 bucket module,create s3 using terraform,create aws s3 bucket,s3 bucket in aws terraform,aws s3 bucket tutorial terraform,how to create s3 bucket in aws using terraform in telugu,terraform tutorial,s3 bucket terraform code,s3 terraform demo
create s3 bucket using terraform,create aws s3 bucket using terraform,s3 bucket terraform,s3 bucket terraform example,terraform s3 bucket creation,terraform s3 bucket example,how to create s3 bucket using terraform,terraform s3 bucket module,create s3 using terraform,create aws s3 bucket,s3 bucket in aws terraform,aws s3 bucket tutorial terraform,how to create s3 bucket in aws using terraform in telugu,terraform tutorial,s3 bucket terraform code,s3 terraform demo
,create s3 bucket using terraform,create aws s3 bucket using terraform,s3 bucket terraform,s3 bucket terraform example,terraform s3 bucket creation,terraform s3 bucket example,how to create s3 bucket using terraform,terraform s3 bucket module,create s3 using terraform,create aws s3 bucket,s3 bucket in aws terraform,aws s3 bucket tutorial terraform,how to create s3 bucket in aws using terraform in telugu,terraform tutorial,s3 bucket terraform code,s3 terraform demo
create s3 bucket using terraform,create aws s3 bucket using terraform,s3 bucket terraform,s3 bucket terraform example,terraform s3 bucket creation,terraform s3 bucket example,how to create s3 bucket using terraform,terraform s3 bucket module,create s3 using terraform,create aws s3 bucket,s3 bucket in aws terraform,aws s3 bucket tutorial terraform,how to create s3 bucket in aws using terraform in telugu,terraform tutorial,s3 bucket terraform code,s3 terraform demo

Опубликовано:

 

29 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 40   
@luismontero5760
@luismontero5760 Год назад
Excelent, but if I want to create an S3 bucket to save my terraform state How I can do? If i put this in my terraform config It will try to create the same S3 bucket in every commit or not?
@cloudchamp
@cloudchamp Год назад
Nice question No. Terraform is going to have the record of s3 bucket created on first apply so it will compare the terraform state and not create bucket on each commit.
@luismontero5760
@luismontero5760 Год назад
@@cloudchamp Thanks for your answer, right know I'm having an issue 'cause I'm using Github Actions, I already create the key pair, vpc, SG, EC2.. Know I'm trying to add S3 backend but I can't 'cause S3 bucket is no created, so, I commented that part but now If I commit it said "keypair already exist" ... Have I to close the student session in AWS and open another one? in order to create the S3 bucket first and after that add backend? idk
@nasiullachaudhari6841
@nasiullachaudhari6841 Год назад
@@luismontero5760 if possible create a S3 bucket manually and then add backend details so it won't be managed by terraform👍
@nasiullachaudhari6841
@nasiullachaudhari6841 Год назад
@@luismontero5760 and the bucket should be created first and then backend config should be added. Check the video by cloudchamp on how to setup S3 as a backend for terraform state 👍
@nabichaudhari7536
@nabichaudhari7536 Год назад
Created my S3 bucket using this
@blazedteen917
@blazedteen917 Год назад
Very helpful terraform tutorial 🙏
@gamingchamp3070
@gamingchamp3070 Год назад
Perfect! Thank you for sharing this aws s3 video
@cloudchamp
@cloudchamp Год назад
You're welcome!
@mhenterprises5804
@mhenterprises5804 Год назад
Informative
@cloudchamp
@cloudchamp Год назад
Thank You 🙏
@blazedteen917
@blazedteen917 Год назад
This is amazing,!!!🙏
@nabichaudhari7536
@nabichaudhari7536 Год назад
Excellent!
@bhavikattipraveen3030
@bhavikattipraveen3030 2 месяца назад
what if I want to update the only tags of already existing s3 bucket like new tag needs to be updated
@user-ju1co7wu9b
@user-ju1co7wu9b 11 месяцев назад
Thank you
@cloudchamp
@cloudchamp 11 месяцев назад
You are welcome 🤗
@vinaykumar-pj8ce
@vinaykumar-pj8ce Год назад
It's great to learn so much from your videos :) By the way, I have one doubt . what If someone from the developer team modifies or deletes the resource without our knowledge. When we run Terraform apply, what will happen?
@cloudchamp
@cloudchamp Год назад
If they do it through the console terraform will not know and only add changes defined in terraform configurations 👍🏻 Because editing anything in console will not change the state file
@mallikarjunrterdal
@mallikarjunrterdal Год назад
Technically, when you are using Terraform, you should give only read only permissions to all users other than the terraform user. This will stop people from intentional or unintentional modification of AWS env. But it is not possible all the times. In that case, when someone makes changes to AWS env directly, Terraform will not get to know that someone has modified the state. So it will try to restore it to the previous state. So, if you want your changes to stay, make sure you commit your changes to Terraform so that you don't lose your data/env
@vinaykumar-pj8ce
@vinaykumar-pj8ce Год назад
@@mallikarjunrterdal Thank you
@nabi140
@nabi140 Год назад
👍
@cloudchamp
@cloudchamp Год назад
Thank You 🙏
@git_t0v
@git_t0v Год назад
Very useful content. I just don't understand why content creators have to work and talk so fast. Just slow it down some.
@cloudchamp
@cloudchamp Год назад
Noted
@KoljaMineralka
@KoljaMineralka Год назад
you are using old syntax, bucket acl should be a separate resource, it was in the documentation in front of you, same with bucket lifecycle rules
@cloudchamp
@cloudchamp Год назад
Yes you can use separate resource for acl and versioning 👍🏻 but this works too!
@KoljaMineralka
@KoljaMineralka Год назад
@@cloudchamp in production you're suppose to maintain the code up to date, when you'll be forced to update syntaxt after 1-2 years it will be painful, trust me. Keep on posting new vids!
@cloudchamp
@cloudchamp Год назад
@@KoljaMineralka I agree!
@durgeshverma712
@durgeshverma712 Год назад
Very helpful and have questions how to turn on termination option EC2 by terraform
@cloudchamp
@cloudchamp Год назад
Hello Durgesh not clear what are you asking? Are you talking about deletion protection or are you asking how to delete instance using terraform?
@durgeshverma712
@durgeshverma712 Год назад
@@cloudchamp ec2 termination protection
@cloudchamp
@cloudchamp Год назад
@@durgeshverma712 disable_api_termination = true, will enable termination protection for the instance. Hope this helps :)
@durgeshverma712
@durgeshverma712 Год назад
@@cloudchamp if possible add this when u create terraform vdo .
@yucel2378
@yucel2378 9 месяцев назад
hi when I try to create that I recieve creating Amazon S3 (Simple Storage) Bucket (yucelfuatbucket): AccessDenied: Access Denied I add permission to my aws user to create s3 bucket but I still get this error. Please help
@cloudchamp
@cloudchamp 9 месяцев назад
Make sure you have and also the bucket name is unique
@MrMadmaggot
@MrMadmaggot 4 месяца назад
But how u connected the terraform with aws? wtf?
@cloudchamp
@cloudchamp 4 месяца назад
How to Connect AWS with Terraform | Set Credentials & Configure ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-QhmFnlbbwP4.html
@MrKiru100
@MrKiru100 Год назад
How to enable server access login??
@cloudchamp
@cloudchamp Год назад
in aws s3 resource add logging block defining the bucket where you want to store the logs along with target_prefix. For more information and syntax I would highly recommend checking the Official Terraform documentation.
@kasirbarati3336
@kasirbarati3336 Год назад
there was a obvious deprecation note there, how did you ignore that? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-zMEaEMPzOws.html
Далее
Terraform Remote State Backend using S3 and DynamoDB
15:33
Connect S3 Bucket to EC2 Instance with IAM role
14:46
Why You NEED To Learn Terraform | Practical Tutorial
27:33
Ansible vs. Terraform: What's the difference?
9:32
Просмотров 191 тыс.
How do I deploy AWS Lambda using Terraform?
18:52
Просмотров 44 тыс.
How to create S3 bucket in AWS
10:43
Просмотров 17 тыс.