Table of Contents |
---|
Key Points
...
Table of Contents |
---|
Key Points
- AWS services can come at 3 layers: iaas, paas, saas
- Most references to AWS refer to paas - EC2 instances and the services that run on them
- EC2 instances can be Windows or Linux
- A low-cost iaas option is LightSail - a VPS server that is fixed price, low-cost with internet connectivity etc - easier to plan than EC2 costs
- Effective cost management of AWS resources and services is a HUGE issue for most companies
- EBS - elastic block storage - can be mounted and file system created for use. can be attached to any single instance
...
...
Training Resources
Ed Izzo AWS Tips
Great catching up as always, Jim. Maybe we'll finally meet in person post-vaccination this summer!
...
EBS volumes are highly available and reliable storage volumes that can be attached to any running instance that is in the same Availability Zone. EBS volumes that are attached to an EC2 instance are exposed as storage volumes that persist independently from the life of the instance. With Amazon EBS, you pay only for what you use. For more information about Amazon EBS pricing, see the Projecting Costs section of the Amazon Elastic Block Store page.
AWS
...
Startup Resources Map
aws-startup-interactive-map-explore-galaxy-of-startup-resources.pdf. link
AWS Cost Management Strategies
hire someone who has managed a "limited data" phone plan successfully - same concepts apply here .. needs agressive cost management ( 3rd party app opportunity with alerts / automated responses ??? )
...
- Choose Between Java Serverless Options
- Sign Up for AWS Account with Billing
- Create AWS Access Keys
- Install and Configure AWS CLI
- Create AWS Role
- Download the Project from GitHub
- Configure Okta JWT Auth
- Create the Lambda
- Create an AWS API Gateway
- Test Your API Gateway URL
- Generate a JWT Token
- Test the Protected Serverless Function
- Learn More about AWS and Java
Apache OpenWhisk
Cloud Serverless Cost Calculator - AWS, Azure, IBM, GCP
...
AWS Systems Manager Agent (SSM Agent) is Amazon software that can be installed and configured on an Amazon EC2 instance, an on-premises server, or a virtual machine (VM). SSM Agent makes it possible for Systems Manager to update, manage, and configure these resources. The agent processes requests from the Systems Manager service in the AWS Cloud, and then runs them as specified in the request. SSM Agent then sends status and execution information back to the Systems Manager service by using the Amazon Message Delivery Service (service prefix: ec2messages
).
AWS Data Store Options
EOS Databases: MySQL, SQLite, Postgres, CouchDB, MongoDB
AWS Databases: RDS, Aurora
Object DBs: use S3 storage
EclipseStore DB EOS
Introduction to EclipseStore Coding - youtube - 20 mins
https://eclipsestore.io/#c3371
https://docs.eclipsestore.io/manual/intro/system-requirements.html
just JDKs on servers, local systems - works with any cloud object store ( AWS, Azure, GCP )
https://github.com/eclipse-store/store
demo app
https://github.com/eclipse-store/bookstore-demo
https://eclipsestore.io/#c3371
POJO Object graphs
Your Java classes define your data model. With EclipseStore, there are no specific requirements to your classes. You can just use plain Java objects (POJOs). There is no need for specific superclasses, interfaces, annotations, mappings, or any other internal configurations.
- Use plain Java objects (POJOs)
- No superclass, interfaces, annotations
- No other internal configurations required
- All Java types supported
- Using inheritance is trouble-free
Storing Objects
ACID Transaction-Safe
To persist objects in the storage, you just have to call a simple store method. By default, EclipseStore persists only new and changed objects (the delta). You decide explicitly, if and when objects are persisted. The objects are stored in a binary file appended to the file storage. Every store an atomic all-or- nothing blocking operation which is ACID transaction-safe and full consistent.
- Atomic all-or-nothing operation
- Blocking operation
- ACID transaction-safe
- Full consistency
- Append-log strategy
- Micro snapshot to store latest changes (delta)
- Rollback for operations on the object graph
- High IO speed through Eclipse Serializer
- Max IO speed by multithreaded IO ops
query customers
DataRoot root = EclipseStoreDemo.root();
root.getCustomers().add(customer);
EclipseStoreDemo.store(root.getCustomers());
CSV export / import
By using CSV Import/Export or other converters, any data can be migrated at any time in both directions easily.
9/17/24 Free 4 hour course for EclipseStore – test w Java, Groovy, WAS Liberty on AWS
COURSE CONTENT
- Functional principle and architecture of EclipseStore
- Download and setup EclipseStore
- Create a new object graph (in-memory-database) and storage instance
- CRUD operations
- Add new objects to your object-graph (CREATE)
- Edit objects (UPDATE)
- Remove objects (DELETE)
- Store objects and subgraphs persistently into the storage
- Using Lazy-Loading to reduce memory consumption
- Using Java 8 Streams API for searching and filtering data
- Migrating existing MicroStream projects to EclipseStore 1.2.0.
SSH connection to EC2 instance at Paramount
...
Case ID 7197414421 - can I use AWS services from Lightsail?
Lightsail provides a base set of resources available 24x7 in different configurations for compute, storage, memory, network access. From a Lightsail account, console do I have access to normal AWS services as an option?
Step-by-step guide for Example
...
create an admin user acct
If you don't already have an access key for your AWS account root user, don't create one unless you absolutely need to. Instead, use your account email address and password to sign in to the AWS Management Console and create an IAM user for yourself that has administrative permissions.
rjm0g$psyn#pz9
create 2 admins - jmason, smason
user key files downloaded
swt1-aws-new_user_credentials-v1.csv
Created user jmason
Attached policy AdministratorAccess to user jmason
Attached policy AmazonAPIGatewayAdministrator to user jmason
Created access key for user jmason
Created login profile for user jmason
welcome email to jm9g
You now have access to the AWS Management Console for the account ending in 1661. ------
Sign-in URL: https://594585551661.signin.aws.amazon.com/console
User name: jmason
Your password will be provided separately by your AWS account administrator.
welcome email smason
You now have access to the AWS Management Console for the account ending in 1661. ------
Sign-in URL: https://594585551661.signin.aws.amazon.com/console
User name: smason
Your password will be provided separately by your AWS account administrator.
Created an org - swt1
Info |
---|
...