Комментарии:
Thank you brother for this helpful tutorial. I followed your steps carefully to demonstrate the project, but an error message is displayed when I run "terraform init" command. Please could you help explain this error message:
HP 840 G2@DESKTOP-5BG8K7E MINGW64 ~/Desktop/DevOps/KUBERNETES PROJECT/terraform-code-to-create-jenkins-server (main)
$ terraform init
Initializing the backend...
Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.
Error refreshing state: AccessDenied: Access Denied
status code: 403, request id: Q5RRCESDRXHGM60H, host id: MHR/JOPOKrL9M+yTorjB6TDuwjd6rhz3MVnH2yDkc5MFL0XscKSbqT8eS/Xh2dcad/hmN+ggBoalm4wPFbWwNw==
What is the role and responsibilities of this project sir coz I want to add in my cv
ОтветитьThanks for your tutorial! :)
Just a small question in the Jenkins part:
In your JenkinsFile I see you define the variables: AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, but you never use it to execute the "sh "aws eks update-kubeconfig --name myapp-eks-cluster". Can you telle me pls why or if I am missing something? :)
Because normally we use "withCredentials( )" function to use those credential Variables inside JenkinsPipeline.
Or is it enough just in the ec2 instance add the credentials manually using "aws configure" in the console? :)
Thanks again for your support! :)
Absolutely amazing
ОтветитьExcellent tutorial. My recommendation is to use Python or shell script to organize and run terraform code, and just use Jenkin for your CI/CD pipeline. If you could demo a simple application with the CI/CD pipeline is even better, in which you can include web hook, unit test, security scan, smoke test, etc. in the pipeline, and independent of infrastructure code - terraform. Look forward to your next tutorial. Thanks,
ОтветитьFor some reason my LoadBalancer can't be created, EKS creation and kubernetes deployment return success, but mu LoadBalances is not created. Google says that there is problem with public/private subnets. Do we assign private subnets to our LB ? Or is it publicly open for anyone ?
Error shown on AWS EKS deployment section:
Error syncing load balancer: failed to ensure load balancer: could not find any suitable subnets for creating the ELB
Thanks for your effort .The jenkins-pipeline-deploy-to-eks is trowing some error and pipeline is failling
ОтветитьThank you so much for your video .Could also do a video to show how to create all terraform files you used to deploy the cluster? please
Ответить@primuslearning4235 I tried the tutorial but jenkins wasn't installed on my server. I see that some others had the same issue. Do you have a resolution for this please ?
ОтветитьAwesome!👏
ОтветитьThanks Primus for this really informative end to end demonstration. Very insightful. I was wondering if you could please advise on an error I am getting. I tried to run a Terraform initialization but getting the below error. It doesn't seem to like the S3 bucket.. Could you please advise..?
PS C:\Users\user\Documents\Terraform22\terraform-code-to-create-jenkins-server> terraform init
Initializing the backend...
Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.
Error refreshing state: AllAccessDisabled: All access to this object has been disabled
status code: 403, request id: T7RZMYJ9G16Z5A0H, host id: lnX1pmr53RBi11UOyCaFjF/kGvW4JE/W4EiNbkLknMx/usQ0B4KSYmcr3BtUuEEGuxiGAeQ1GsjYCADqihAIb2OlXJScdxFwYlPBx/kVq1s=
Hey Bro , Awesome work here , really appreciate the content , have a doubt in terraform part that how terraform will come to know about my aws account where it has to deploy ec2 , subnet, etc , also can we use default vpc or vpc is also required ,
ОтветитьAlso i'm not able to initialize the backend even after providing credentials for accesskey and secret key.
i did not find anything in video where to and how to do.?
Bravo 👏
ОтветитьMuch appreciated your efforts
ОтветитьI just connected my server through ssh ans saw that jenkins has not been installed and that's why I am not able to access it on web.
ОтветитьHi Primus, I tried to implement this project but the initialisation doesn't work at all I got this error message (
Initializing the backend...
╷
│ Error: Failed to get existing workspaces: S3 bucket does not exist.
│
│ The referenced S3 bucket must have been previously created. If the S3 bucket│ was created within the last minute, please wait for a minute or two and try
│ again.
│
│ Error: NoSuchBucket: The specified bucket does not exist
│ status code: 404, request id: XKA4ZJKZTVRJKY30, host id: B19gFAQIMXJ5O03C3q/Qtak3SQibwiUdQFl0Ak3wqQc5AZag5qLtiavdRg4ZozbjtVfvb5Ikg+8exh5rDcTQOg== ), and I already create S3
You are doing great work bro!
Ответить🤜🤜
ОтветитьQuick question, did you have an already created cluster prior to running the create eks cluster pipeline? I am getting No cluster found for name: calcapp-eks-cluster.
Ответить