Skip to content

Optimize cloud-init user data script #287

Open
@0x2b3bfa0

Description

@0x2b3bfa0

On public cloud machines, the startup script needs to be compatible with any modern and sensible GNU+Linux image, and that requires some optimizations and workarounds. For example, we should try to avoid depending on package managers and software other than systemd.

Installing rclone

Whilst rclone binary distributions are self–contained Go executables, they come bundled in zip files, and extracting them in a portable way is hard.

Watching files

In order to avoid installing a file watcher,1 we've replaced “smart” data+log synchronization by polling, considerably increasing transfer costs.

Issues

Other fixes

Footnotes

  1. Installing software usually requires resorting to distribution–specific package managers.

Metadata

Metadata

Labels

epicCollection of sub-issuesresource-taskiterative_task TF resourcetechnical-debtRefactoring, linting & tidying

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions