bjorn248 / graphql_aws_pricing_api Goto Github PK
View Code? Open in Web Editor NEWAWS Pricing API. Used to power terraform-cashier.
Home Page: https://fvaexi95f8.execute-api.us-east-1.amazonaws.com/Dev/graphql/
License: MIT License
AWS Pricing API. Used to power terraform-cashier.
Home Page: https://fvaexi95f8.execute-api.us-east-1.amazonaws.com/Dev/graphql/
License: MIT License
Maybe it's faster/better
Tested a working POC and it seemed to work wonderfully. I've committed to migrating to cockroach as my primary database.
Need some way to do more than just AND...
Trying to get away from RDS if possible, just to save on cost.
Investigate
The resolve function for IngestionServiceSnowball is not mapping back to existing table/field names. This is because of the temporary fix implemented to get EC2 pricing back up.
Because we want to be the change we want to see in the world
So I don't have duplicate code.
Node 12 is reaching EOL, need to upgrade
So that people know what the queryable fields are...need an easy way to generate Markdown documentation from the GraphQL schema. Might add an environment variable to do that for me.
With usage information. Public endpoint as well as how to use aliases to get multiple data points at once (how cashier actually uses it)
AWS Athena seems like a good fit for querying this type of data, instead of having to have an RDS instance always running.
After upgrading a few of the modules and redeploying to lambda, it seems that the lamba function experiences cold-start behavior during every invocation. In the past, only the first request would take 14+ seconds, and then subsequent requests would take 1-4 seconds.
Instead, dockerfile should grab the raw script from the other github repo that has the latest import script. Github repo found here: https://github.com/Bjorn248/aws_pricing_data_ingestor/
The importer script has been running, and directly connecting to the DB confirms that the correct value is present. Also, running the API locally seems to work. However, the live lambda returns 0.1482 instead of 0.133
RDS costs money, Heroku ClearDB MySQL has a more generous free tier. Investigate, and possibly switch.
Use serverless framework (https://serverless.com/) for this project. It will make development and deployment to lambda much easier.
See https://docs.docker.com/compose/networking/#specify-custom-networks
Wouldn't want to use things that are on the chopping block of deprecation
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.