Skip to content

Instantly share code, notes, and snippets.

@dave-malone
dave-malone / greengrass-lambda-invoke-another-lambda.py
Created April 16, 2019 14:10
Example AWS IoT Greengrass Lambda invoking another Lambda
#
# Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# greengrassHelloWorld.py
# Demonstrates a simple publish to a topic using Greengrass core sdk
# This lambda function will retrieve underlying platform information and send
# a hello world message along with the platform information to the topic 'hello/world'
# The function will sleep for five seconds, then repeat. Since the function is
# long-lived it will run forever when deployed to a Greengrass core. The handler
@hassy
hassy / parse_aws.md
Last active January 17, 2024 04:11
Deploying Parse Server on AWS (WIP)

Deploying Parse Server on AWS

Note: this is a work-in-progress and will be updated with more information over the next few days.

Intro

This guide will walk you through deploying your own instance of the open-source Parse Server. This would be a good starting point for testing your existing application to see if the functionality provided by the server is enough for your application, and to potentially plan your migration off the Parse Platform.

This guide will walk you through using Elastic Beanstalk (EB), which is an AWS service similar to Heroku. Why use EB rather than Heroku? Elastic Beanstalk does not lock you into Heroku-specific ways of doing things, is likely cheaper to run your backend on than Heroku, and it integrates with other services that AWS offer (and they offer almost everything one needs to run an application these days).

@kfreytag
kfreytag / export-callback.js
Created November 24, 2015 01:34
JAWS-based Node callback to retrieve and persist Sailthru Jobs to S3
/**
* AWS Module: Action: Modularized Code
*/
var Promise = require('bluebird');
var AWS = require('aws-sdk');
var request = require('request');
var SAILTHRU_CONSTANTS = require('../lib/constants');
var s3 = new AWS.S3();