How to bootstrap droplets using Terraform

0 votes

When creating droplets on Digital Ocean using Terraform, the created machines' passwords are sent via mail. If I get the documentation on the Digital Ocean provider right, you can also specify the SSH IDs of keys to use.

If I am bootstrapping a data centre using Terraform, which option should I choose?

Jul 12, 2018 in DevOps Tools by Nilesh
• 7,040 points

1 answer to this question.

0 votes
Using passwords on instances is an absolute pain once you have an appreciable number of them. It's also less secure than SSH keys that are properly managed (kept secret). Obviously, you are going to have some trouble linking the rest of your automation to some credentials that are delivered out of band to your automation tooling so if you need to actually configure these servers to do something then the password by email option is pretty much out.
answered Jul 12, 2018 by Kalgi
• 2,680 points

Related Questions In DevOps Tools

0 votes
1 answer
0 votes
1 answer

How to download the latest minor version of nexus artifact using REST?

If you're using nexus 2.x, you can ...READ MORE

answered Jun 27, 2018 in DevOps Tools by ajs3033
• 7,280 points
0 votes
1 answer

How do I deploy to multiple servers using the same context root?

  If you're deploying to multiple servers ...READ MORE

answered Jul 2, 2018 in DevOps Tools by Kalgi
• 52,370 points
0 votes
0 answers

How to install java 8 using heira in puppet?

How do I install java8 using a ...READ MORE

Feb 3, 2020 in DevOps Tools by anonymous
• 19,620 points
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
+2 votes
1 answer
0 votes
1 answer

How to connect to Vault server

You need to configure the back end ...READ MORE

answered Jul 12, 2018 in DevOps Tools by Kalgi
• 2,680 points