Este documento: http://bit.ly/awsnosqlba
Julio Faerman - http://twitter.com/jmfaerman
-
Crie uma conta no qwiklabs https://amazon.qwiklabs.com
-
Registre-se para acesso aos labs com o mesmo email do qwiklabs https://goo.gl/forms/T6D436ZEqGimPDSn2
Este documento: http://bit.ly/awsnosqlba
Julio Faerman - http://twitter.com/jmfaerman
Crie uma conta no qwiklabs https://amazon.qwiklabs.com
Registre-se para acesso aos labs com o mesmo email do qwiklabs https://goo.gl/forms/T6D436ZEqGimPDSn2
In the previous episodes we implemented the fundamental components of a tyical web application: "static" content and "dynamic" APIs. For each component, we´ve been using the most out of AWS services, such as S3, CloudFront, Lambda and API gateway. But so far we have only been working with public resources. Let us now learn more about user authentication and authorization in two very important services: AWS Identity and Access Management and Amazon Cognito. Even more importantly, let us integrate that within our React application ;)
After creating and publishing a static website in the last broadcast, today we'll develop a web application API to compute and access dynamic data. Starting by the basics of interface design and serverless compute, we´ll explore the most relevant aspects of application integration with AWS backends.
Today's broadcast starts 4pm GMT ( check your local time http://bit.ly/2mLj30j ) and will include:
https://aws.amazon.com/about-aws/whats-new/2017/03/aws-lambda-supports-node-js-6-10/
This is the first gist with notes my broadcasts on [Twitch.TV/AWS](twitch.tv/aws].
This broadcast is all about being:
Next episode:
| Something | |
| Wicked | |
| This | |
| Way | |
| Comes |
| package kornell.server.util | |
| import org.wildfly.swarm.container.Container | |
| import org.wildfly.swarm.jaxrs.JAXRSArchive | |
| import org.jboss.shrinkwrap.api.ShrinkWrap | |
| import org.jboss.shrinkwrap.api.spec.WebArchive | |
| import org.jboss.shrinkwrap.resolver.api.maven.archive.importer.MavenImporter | |
| object KornellSwarm extends App{ | |
| val container = new Container(); |
| import scala.collection.JavaConverters._ | |
| import com.amazonaws.services.s3.AmazonS3Client | |
| import rx.lang.scala._ | |
| import rx.lang.scala.schedulers._ | |
| import com.amazonaws.services.s3.model._ | |
| /** | |
| * @author jfaerman | |
| */ |
| AmazonS3Client s3 = new AmazonS3Client(); | |
| String bucketName = "deleteversions-"+UUID.randomUUID(); | |
| //Creates Bucket | |
| s3.createBucket(bucketName); | |
| //Enable Versioning | |
| BucketVersioningConfiguration configuration = new BucketVersioningConfiguration(ENABLED); | |
| s3.setBucketVersioningConfiguration(new SetBucketVersioningConfigurationRequest(bucketName, configuration )); |
| for((x,i) <- xs.view.zipWithIndex) println("String #" + i + " is " + x) |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |