All Questions
Tagged with provisioning amazon-web-services
32 questions
-1
votes
1
answer
108
views
Why do I not receive a response from $aws/certificates/create/json/accepted or rejected when I publish to topic $aws/certificates/create/json?
I have an esp32 device that has a certificate I generated in AWS to be used as a claim certificate. The esp32 connects to AWS fine and allows me to subscribe to the accepted and rejected topics. When ...
0
votes
0
answers
22
views
AWS Monitoring/Provisioning Custom internal app or off the shelf?
Bottom Line Up Front
We’re looking for a solution to streamline deployment, provisioning, and monitoring across different environments. Currently, deployment happens through Azure DevOps, provisioning ...
0
votes
1
answer
1k
views
Provisioning Windows VM including File Provisioner for AWS using Terraform results in Timeout
I'm aware that there already exists several posts similar to this one - I've went through them and adapted my Terraform configuration file, but it makes no difference.
Therefore, I'd like to publish ...
1
vote
1
answer
544
views
AWS IOT - RegisterThing fails -- InvalidCertificateOwnershipToken
This is a real challenge. I have been successful in everything up to this point in Fleet provisioning on an embedded device. I have subscribed and published to topics and received new certificates ...
2
votes
1
answer
4k
views
What is the difference between an efs provisioner and efs csi driver?
While I am trying to implement EFS volumes in my EKS cluster, as I am checking in forums, I could see 2 solutions
Using efs provisioner
Using efs CSI driver
What is the actual difference between ...
0
votes
1
answer
291
views
How to perform cross account provisioning using Ansible?
I have run a Terraforms script to provision EKS cluster using cross-account provisioning. So I ran Terraform scripts on account 1 and EKS got created in account 2.
assume_role helps me achieve this:
...
1
vote
1
answer
1k
views
How does an IOT device connect with AWS IOT using a provisioning claim certificate during device provisioning?
I am planning to connect my IOT device (ESP32) to AWS IOT Core through a Flutter app by automatically creating the required IOT Thing and generating the required certificates and Key pairs.
The device ...
3
votes
1
answer
2k
views
AWS IAM Access for Developers (Sandbox)
I have found a few articles/post that discuss this issue, but no definitive solution that will meet my needs.
My company uses an AWS Landing Zone with SSO. To date, the cloud team has been creating ...
3
votes
1
answer
2k
views
How to run and test Cloud-init locally?
Recently, I have been provisioning cloud servers using Cloud-init. I like it and it is sufficient for my usecase which is simple configuration management.
To run and test Cloud-init scripts, I always ...
2
votes
1
answer
1k
views
Can Packer build an AMI locally (that is, without connecting to AWS)?
Assume I have some special use-case. Please no answers like "why do you want to do this?" Simply put, is this supported behavior, and if so, could you point me to the relevant documentation?
4
votes
2
answers
1k
views
Ansbile + AWS Private hosts provisioning
I am trying to provision 2 ec2 instances on a private subnet using Ansible playbooks. My infrastructure includes:
Bastion Host on a public subnet
2 EC2 instances on 2 private subnets
NAT Gate for ...
1
vote
0
answers
185
views
Amazon AWS IOT device SDK provisioning
I am new to AWS IOT. I'm working on a project where I use BeagleBone boards as device gateways which will connect to AWS IoT. I wish to use either the C or C++ device SDKs on the boards to communicate ...
5
votes
4
answers
13k
views
"The parameter CNAME contains one or more parameters that are not valid" error message while deploying a CloudFront distribution
I'm getting this error message when trying to deploy a CloudFront distribution:
The parameter CNAME contains one or more parameters that are not valid. (Service: AmazonCloudFront; Status Code: 400; ...
1
vote
2
answers
6k
views
Packer file provisioner doesn't copy
I have a File Provisioner configured on my packer template json:
"provisioners": [{
"type": "file",
"source": "packer/api-clients/database.yml",
"destination": "/tmp/api-...
2
votes
0
answers
4k
views
Terraform Module not working
I am kind of struggling to understand how the modules in Terraform work. What I am trying to achieve is
|TERRAFORM
|RDS
|main.tf
|variables.tf
|terraform.tfvars
|Modules
|...
0
votes
3
answers
79
views
Provision certficate to LAMP EC2, which are autoscaled on AWS
I need to design a solution, where the AWS EC2 has LAMP installed . The EC2s are autoscalled . The EC2 should have HTTPS for LAMP . The certificate can be self signed , but the private key should be ...
0
votes
1
answer
839
views
Terraform: provisioner couldn't be found
I have resource "aws_instance" "webserver" in my .tf file which contains provisioner "install-apache":
provider "aws" {
access_key = "ACCESS_KEY"
secret_key = "SECRET-KEY"
...
2
votes
2
answers
2k
views
AWS CloudFormation provisioning... UserData vs. Ansible or the likes? [closed]
What is the difference between provisioning using AWS CloudFormation UserData vs. Ansible?
I know that in relation to Puppet for example, it enforces provisioning rules even when a change is done (...
5
votes
1
answer
2k
views
Ansible docker_container 'no Host in request URL', docker pull works correctly
I'm trying to provision my infrastructure on AWS using Ansible playbooks. I have the instance, and am able to provision docker-engine, docker-py, etc. and, I swear, yesterday this worked correctly and ...
2
votes
1
answer
328
views
Does a dynamodb GetItem request that doesn't return any data consume read provisioning?
If a GetItem request to dynamoDB resulted in no entries for the corresponding Hash Key/Range Key, does it still count toward the allowed number of provisioned table reads?
0
votes
0
answers
311
views
Can't install PHP on Chef due to conflicts with php-common-5.3.29-1.8.amzn1.x86_64
I'm encountering some problems trying to install PHP on my node on AWS (using as OS Amazon AMI, that is some sort of Red Hat).
When I try to run chef-solo I receive this output:
=====================...
4
votes
1
answer
4k
views
Terraform stalls while trying to get IP addresses of multiple instances?
So I am using terraform to provision ec2 instances and openstack instances. I am trying to reference the IP addresses of the instances I am creating because I need to run commands that use them (to ...
2
votes
1
answer
117
views
chef-recipe ArgumentError unknown directive: "\n"
I am using chef-server 11 and using chef-provisioning gem to automate the cloud infrastructure.
I have an simple recipe to create an instance from AMI but it fails with an
ArgumentError unknown ...
0
votes
1
answer
113
views
Chef aws driver tags don't work using Etc.getlogin
I am currently using Chef solo on a Windows machine. I used the fog driver before which created tags for my instances on AWS. Recently, I moved to the aws driver and noticed that aws driver does not ...
2
votes
1
answer
562
views
Difference between UserData and cfn-helper with CloudFormation AWS
I am starting to use CloudFormation for orchestration/provisioning and I see there are two ways to install packages:
First way is with a bash script in userdata section, example:
"UserData": {
...
0
votes
1
answer
854
views
Cannot connect to an Instance using ssh after Broken pipe
I'm totally new using SaltStack and AWS, probably this is a dumb question, I created an AMI (using packer) with SaltStack (masterless) as a provisioner... I was able to connect via ssh and make a ...
-1
votes
1
answer
45
views
libcloud and accounts and payments with multiple providers
Do I need to set up an account and payment information for each provider I intend to use with libcloud? Are there any service offerings that allow you to sign up for payment once through them and ...
0
votes
0
answers
75
views
issues with Puppet module to install Vagrant and plugins
I'm trying to write a Puppet module to install Vagrant and a couple associated plugins. However, when I provision the machines with Puppet, Vagrant installs correctly but the vagrant-aws plugin ...
4
votes
2
answers
3k
views
How to properly auto-scale AWS EC2 Instances group in a relatively complex infrastructures?
I'm working to migrate our servers on the Amazon Cloud, reasons are auto-scaling possibilities, costs, services, and more, obviously.
So far, I'm experimenting hard and trying to dive in the full-...
4
votes
1
answer
3k
views
Vagrant Rsync Error before provisioning
So I'm having some adventures with the vagrant-aws plugin, and I'm now stuck on the issue of syncing folders. This is necessary to provision the machines, which is the ultimate goal. However, running ...
0
votes
2
answers
410
views
puppet exec vagrant plugin install not working
I have successfully installed vagrant-aws on a centos VM, and I am trying to 'puppetize' this task. My relevant puppet code is below:
exec { 'install_aws':
command => '/usr/bin/vagrant plugin ...
20
votes
2
answers
5k
views
Where to put Elastic Beanstalk config commands that are only run once on spin-up?
I know I can put commands in my source code in .ebextensions/*.config using the commands array. These are executed on every deploy however. What about if I want to execute a configuration command ...