Table of contents
...
Child pages (Children Display) |
---|
Related Services
- Convox - They abstract away all of Amazon's services.
- This was a tip from Nathan at the Indie Hackers meetup.
AWS Services
Cloud9
- Amazon Docs - Working with Amazon Lightsail Instances in the AWS Cloud9 Integrated Development Environment (IDE)
- I used this tutorial to get Streamscan set up.
- I needed to install Python 2.7, I used the steps explained here.
Lightsail
- To get Filezilla working with Lightsail I followed the instructions I found here:
- When you "Open Connection", Choose SFTP
- Server is the Public IP for your instance (port will be 22)
- Username is indicated on the "Connect" tab of manage instance
- Choose the SSH Private Key for the instance (you can download the Default Key from the accounts page if you didn't create/upload your own)
- To install Apache I followed the instructions I found here: 2018.02.14 - Saowen - Deploying python Flask web app on Amazon Lightsail
- To create a virtualenv I followed the instructions I found here:
- sudo pip3 (or pip2) install virtualenv
- virtualenv venv
- source venv/bin/activate
- deactivate
- I created symlinks to the following things:
- ln -s /var/log/apache2/error.log error.log
- ln -s /var/www/<project_name> <project_name>
- ln -s /var/www/<project_name>/venv/bin/activate activate_venv
- To get the server to run in a virtualenv I followed some instructions I found here:
- Open up /etc/apache2/sites-available/<your_website>.conf
- Look for a line that says "WSGIDaemonProcess <name_of_the_app>"
- Change it to read "WSGIDaemonProcess <name_of_the_app> python-home=/path/to/the/venv"
...
44. Understanding JSON Schemas
- No video, just text.
- You can learn more about JSON Schema on the following page: http://json-schema.org/
- The best place to start learning is this page, though: https://spacetelescope.github.io/understanding-json-schema/
...
- What kind of database is DynamoDB?
- You don't need to manage DynamoDB servers. How do you then scale the database?
- NW: One thing I don't remember being mentioned (that came up in the answer). This method of storage isn't completely hands-off; you do need to "decide how much read/write capacity (per second) you need".
- What's "Provisioned Throughput" or "Read and Write Capacity" all about?
- Answer: "It defines how many read or write actions you may perform per action." More info here.
- How do you access DynamoDB actions via Lambda?
- NW: He hadn't actually covered this before asking this question.
- What's a "Primary Key" and how is it connected to "Partition Key" and "Sort Key"
- What's the difference between scan() and getItem() ?
- NW: Pretty sure he hasn't covered this yet.
- "getItem() only returns one item, scan() returns multiple items."
58. Creating a Table in DynamoDB
...