danfuzz / milky-cloud Goto Github PK
View Code? Open in Web Editor NEWCloud computing utilities (99% AWS-specific)
License: Other
Cloud computing utilities (99% AWS-specific)
License: Other
As an "and then" of issue #37, maybe it's reasonable to want to treat all of AWS as an "object hierarchy," with each object exposing properties and methods. E.g. maybe the root is a container of
Region
objects, leading to (among other things) Zone
s, leading to (among other things) Instance
s, etc.
Probably more trouble than it's worth to flesh it out completely, but it might make sense to implement this piecemeal as needed by clients.
Instead of searching through all AMIs, it's arguably better to use the official symbolic binding to "latest AMI" that Amazon publishes. E.g. this shows promise:
ubik aws-json ssm get-parameters-by-path --loc=us-west-2 \
'{ Path: "/aws/service/ami-amazon-linux-latest" }' \
:: '.Parameters[] | select(.Name | test("al2023-ami-kernel-6[.][0-9]+-x86_64"))'
…and likewise but for ARM by testing for al2023-ami-kernel-6.1-arm64
.
See https://docs.aws.amazon.com/linux/al2023/ug/get-started.html.
The Lets Encrypt docs seem to imply that you always have to supply an email address and --agree-tos
, but I think those are actually only required when setting up an account.
If so, this tool should be adjusted accordingly.
For commands that operate on an AWS "object" of some sort, there is a lot of inconsistency about the name of the option or argument that identifies the object. This should be cleaned up.
By way of suggestion, --targ=<id-or-name>
.
See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-metadata-v2-how-it-works.html for the "fun" bits required now that the local-data URL requires token-based access.
…But… you can get a token just by asking? Not clear why this makes anything better.
TOKEN=`curl -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 21600"`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.