Home
Softono
a

aws

Professional software vendor delivering innovative solutions on the Softono platform. Specialized in both open-source and proprietary software development.

Total Products
3

Software by aws

aws-pdk
Open Source

aws-pdk

# Getting started ## What is the AWS PDK? The AWS Project Development Kit (AWS PDK) provides building blocks for common patterns together with development tools to manage and build your projects. The AWS PDK lets you define your projects programatically via the expressive power of type safe constructs available in one of 3 languages (typescript, python or java). This approach yields many benefits, including: - Ability to set up new projects within seconds, with all boilerplate already pre-configured. - Receive updates to previously bootstrapped projects when new versions become available i.e: updated dependenies or lint configurations. - Build polyglot monorepos, with build caching, cross-language build dependencies, dependency visualization and much more. - Leverage codified patterns which vend project and infrastructure (CDK) code. The AWS PDK is built on top of [Projen](https://github.com/projen/projen) and as such all constructs that you compose together need to be defined via a [projenrc](https://projen.io/docs/custom/programmatic-api) file. ## Why use the AWS PDK? It's much easier to show than explain! Here is some PDK code (within projenrc file) that creates a Polyglot monorepo, with a React Website pre-configured with Cognito Auth and pre-integrated with a Smithy Type Safe Api. ```ts import { CloudscapeReactTsWebsiteProject } from "@aws/pdk/cloudscape-react-ts-website"; import { InfrastructureTsProject } from "@aws/pdk/infrastructure"; import { MonorepoTsProject } from "@aws/pdk/monorepo"; import { DocumentationFormat, Language, Library, ModelLanguage, TypeSafeApiProject, } from "@aws/pdk/type-safe-api"; import { javascript } from "projen"; const monorepo = new MonorepoTsProject({ name: "my-project", packageManager: javascript.NodePackageManager.PNPM, projenrcTs: true, }); const api = new TypeSafeApiProject({ parent: monorepo, outdir: "packages/api", name: "myapi", infrastructure: { language: Language.TYPESCRIPT, }, model: { language: ModelLanguage.SMITHY, options: { smithy: { serviceName: { namespace: "com.aws", serviceName: "MyApi", }, }, }, }, runtime: { languages: [Language.TYPESCRIPT], }, documentation: { formats: [DocumentationFormat.HTML_REDOC], }, library: { libraries: [Library.TYPESCRIPT_REACT_QUERY_HOOKS], }, handlers: { languages: [Language.TYPESCRIPT], }, }); const website = new CloudscapeReactTsWebsiteProject({ parent: monorepo, outdir: "packages/website", name: "website", typeSafeApi: api, }); new InfrastructureTsProject({ parent: monorepo, outdir: "packages/infra", name: "infra", cloudscapeReactTsWebsite: website, typeSafeApi: api, }); monorepo.synth(); ``` This code (also available in Python and Java), produces all the source code, packages and infrastructure needed to deploy a fully-operable application in the AWS cloud. All that's left to do is build and deploy it! From this ~70 lines of code above, the AWS PDK produces the following packages on your behalf: - `monorepo`: Root level project that manages interdependencies between projects within the Monorepo, provides build caching and dependency visualziation. - `api/model`: A project that allows you to define your API using Smithy (or OpenAPI) IDL. - `api/generated/documentation`: A project that automatically creates API documentation in a variety of formats. - `api/generated/infrastructure`: A project that automatically creates API infrastructure constructs in a type-safe manner. - `api/generated/libraries`: A project that automatically generates a react hooks library that can be used to call your API from a React based website. - `api/generated/runtime`: A project that contains server bindings for handlers to ensure type safety. - `api/handlers`: A project that automatically creates handler stubs, preconfigured with type-safety and a variety of value added features based on your defined API's. - `website`: A project which creates a React based website built using [Cloudscape](https://cloudscape.design/) that comes pre-integrated with Cognito Auth and your created API. This provides you with the ability to call your API securely. - `infra`: A project which sets up all CDK related infrastructure needed to deploy your application. It also comes pre-configured to generate a diagram based on your CDK code everytime you build. ### Bootstrapped Source <img src="docs/content/assets/images/boilerplate_source.png" width="800" /> ### Generated Website <img src="docs/content/assets/images/website_screenshot.png" width="800" /> ### Generated Diagram <img src="docs/content/assets/images/generated_diagram.png" width="800" /> As you can see, the AWS PDK provides you with valuable time savings so you can focus on working on what matters most to your project. ## Developing with the AWS PDK Please refer to the full documentation website. https://aws.github.io/aws-pdk ## Contributing to the AWS PDK https://aws.github.io/aws-pdk/contributing/index.html ## License This project is licensed under the Apache-2.0 License.

Web Development DevOps & Infrastructure
448 Github Stars
aws-northstar
Open Source

aws-northstar

# NorthStar - Prototyping Design System [![Github Action Workflow - CI](https://github.com/aws/aws-northstar/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/aws/aws-northstar/actions/workflows/ci.yml) [![NorthStar UI NPM latest version](https://img.shields.io/npm/v/@aws-northstar/ui)](https://www.npmjs.com/package/@aws-northstar/ui) [![Coverage Status](https://coveralls.io/repos/github/aws/aws-northstar/badge.svg?branch=main)](https://coveralls.io/github/aws/aws-northstar?branch=main) [![GitHub Release Date](https://img.shields.io/github/release-date/aws/aws-northstar)](https://github.com/aws/aws-northstar/releases) [![NPM Download](https://img.shields.io/npm/dw/@aws-northstar/ui)](https://www.npmjs.com/package/@aws-northstar/ui) ![NPM type definitions](https://img.shields.io/npm/types/aws-northstar) [![Github license](https://img.shields.io/npm/l/aws-northstar)](https://github.com/aws/aws-northstar/blob/main/LICENSE) [![GitHub pull-requests](https://img.shields.io/github/issues-pr/aws/aws-northstar.svg)](https://github.com/aws/aws-northstar/pulls) [![GitHub issues](https://img.shields.io/github/issues/aws/aws-northstar)](https://github.com/aws/aws-northstar/issues) NorthStar is an open source design system with reusable React components for rapidly prototyping intuitive, meaningful and accessible user experience. It simplifies your work and ensures consistent, predictable user experience at scale for your customers. With NorthStar, you can focus on innovation and do more with less. Check out our [documentation website](https://aws.github.io/aws-northstar) for more details. ## Cloudscape Design System and NorthStar v2 On July 19, 2022, AWS released [Cloudscape Design System](https://cloudscape.design/) as open source. Cloudscape is a solution for building intuitive user experiences. It offers guidelines to create web applications, along with the design resources and front-end components to streamline implementation. NorthStar v2 (**@aws-northstar/ui**) improves upon the previous version by leveraging [Cloudscape Design System](https://cloudscape.design/) and with updates to the existing components with new features that make the development experience even better. ## NorthStar Legacy NorthStar legacy (**aws-northstar**), released in October 2020, was built using [Material UI v4](https://v4.mui.com/) as its base and provided approximately 50 components for building prototyping user experience. **This version entered maintenance on April 1, 2023.** During the maintenance phase, NorthStar legacy will only receive critical bug fixes and security patches. New features will be exclusively developed for NorthStar v2. **On April 1, 2024, support will end for NorthStar legacy.** Refer to [the Migration tabs in the documentation website](https://aws.github.io/aws-northstar/?path=/story/migration-migratingfromlegacy--page) for more information on how to migrate NorthStar legacy to v2. ## Development Contribution guide are available at the [Contributing Guidelines](https://github.com/aws/aws-northstar/blob/main/CONTRIBUTING.md). ### Folder Structure This monorepo hosts source code for NorthStar v2 and its example project. | Path | | | ------------------------------------- | ---------------------------------------------- | | **packages/ui** | Source code for NorthStar v2 | | **packages/examples/ui** | Source code for NorthStar v2 demo app | ### Prerequisites * [git-secrets](https://github.com/awslabs/git-secrets#installing-git-secrets) ### Commands In the project directory, you can run: #### `yarn storybook` Runs storybook to navigate all the components on NorthStarv v2. Open [http://localhost:6006](http://localhost:6006) to view it in the browser. The page will reload if you make edits. **It is recommended to use storybook as development environment.** #### `yarn lint:fix` Fix lint problems automatically #### `yarn check:all` Check all the tests passed, code built, storybook built, documentation built ## License This project is licensed under the Apache-2.0 License. ## Changelog Check out the [Changelog](https://github.com/aws/aws-northstar/releases)

CSS Frameworks & UI Kits Design Systems & Tokens
213 Github Stars
amazon-sagemaker-examples
Open Source

amazon-sagemaker-examples

![SageMaker](https://github.com/aws/amazon-sagemaker-examples/raw/main/_static/sagemaker-banner.png) # :exclamation::fire: Announcing SageMaker-Core: A New Python SDK for Amazon SageMaker :fire::exclamation: ## Introduction Today, Amazon SageMaker is excited to announce the release of SageMaker-Core, a new Python SDK that provides an object-oriented interface for interacting with SageMaker resources such as TrainingJob, Model, and Endpoint. This SDK introduces the resource chaining feature, allowing developers to pass resource objects as parameters, eliminating manual parameter specification and simplifying code management. SageMaker-Core abstracts low-level details like resource state transitions and polling logic, achieving full parity with SageMaker APIs. It also includes usability improvements such as auto code completion, comprehensive documentation, and type hints, enhancing the overall developer experience. ## Use Case SageMaker-Core is ideal for ML practitioners who seek full customization of AWS primitives for their ML workloads. SageMaker-Core is an improvement over Boto3, providing a more intuitive and efficient way to manage SageMaker resources. By providing an intuitive object-oriented interface and resource chaining, the SDK allows for seamless integration and management of SageMaker resources. This flexibility, combined with intelligent defaults enables developers to tailor their ML workloads according to their needs. Comprehensive documentation, and type hints help developers write code faster and with fewer errors without navigating complex API documentation. ## Call to Action To learn more about SageMaker-Core, visit the [documentation](https://sagemaker-core.readthedocs.io) and [example notebooks](https://github.com/aws/amazon-sagemaker-examples/tree/default/sagemaker-core). Get started today by integrating SageMaker-Core into your machine learning workflows and experience the benefits of a streamlined and efficient development process. # Amazon SageMaker Examples Example Jupyter notebooks that demonstrate how to build, train, and deploy machine learning models using Amazon SageMaker. ## :books: Read this before you proceed further Amazon SageMaker examples are divided in two repositories: - [SageMaker example notebooks](https://github.com/aws/amazon-sagemaker-examples) is the official repository, containing examples that demonstrate the usage of Amazon SageMaker. This repository is entirely focussed on covering the breadth of features provided by SageMaker, and is maintained directly by the Amazon SageMaker team. - [Sagemaker Example Community repository](https://github.com/aws/amazon-sagemaker-examples-community) is another SageMaker repository which contains additional examples and reference solutions, beyond the examples showcased in the [official repository](https://github.com/aws/amazon-sagemaker-examples). This repository is maintained by community of engineers and solution architects at AWS. ## Planning to submit a PR to this repository? Read this first: - This repository will only accept notebooks/examples which demonstrate a feature of SageMaker, not yet covered anywhere in this repository. PR submitters are requested to check this before submitting the PR to avoid getting it rejected. - If you still would like to contribute your example, please submit a PR to [Sagemaker Example Community repository](https://github.com/aws/amazon-sagemaker-examples-community) instead. ## :hammer_and_wrench: Setup The quickest setup to run example notebooks includes: - An [AWS account](http://docs.aws.amazon.com/sagemaker/latest/dg/gs-account.html) - Proper [IAM User and Role](http://docs.aws.amazon.com/sagemaker/latest/dg/authentication-and-access-control.html) setup - An [Amazon SageMaker Notebook Instance](http://docs.aws.amazon.com/sagemaker/latest/dg/gs-setup-working-env.html) - An [S3 bucket](http://docs.aws.amazon.com/sagemaker/latest/dg/gs-config-permissions.html) ## :computer: Usage These example notebooks are automatically loaded into SageMaker Notebook Instances. They can be accessed by clicking on the `SageMaker Examples` tab in Jupyter or the SageMaker logo in JupyterLab. Although most examples utilize key Amazon SageMaker functionality like distributed, managed training or real-time hosted endpoints, these notebooks can be run outside of Amazon SageMaker Notebook Instances with minimal modification (updating IAM role definition and installing the necessary libraries). ## :notebook: Example Notebook Categories ### End-to-End ML Lifecycle These examples are a diverse collection of end-to-end notebooks that demonstrate how to build, train, and deploy machine learning models using Amazon SageMaker. These notebooks cover a wide range of machine learning tasks and use cases, providing you with a comprehensive understanding of the SageMaker workflow. Each notebook in this folder is self-contained and includes detailed documentation, code samples, and instructions for running the examples on SageMaker. Whether you're a beginner or an experienced practitioner, this folder offers a comprehensive collection of end-to-end notebooks that will help you leverage the power of Amazon SageMaker for a wide range of machine learning tasks and use cases. ### Prepare Data The example notebooks within this folder showcase Sagemaker's data preparation capabilities. Data preparation in machine learning refers to the process of collecting, preprocessing, and organizing raw data to make it suitable for analysis and modeling. This step ensures that the data is in a format from which machine learning algorithms can effectively learn. Data preparation tasks may include handling missing values, removing outliers, scaling features, encoding categorical variables, assessing potential biases and taking steps to mitigate them, splitting data into training and testing sets, labeling, and other necessary transformations to optimize the quality and usability of the data for subsequent machine learning tasks. ### Build and Train Models Amazon SageMaker Training is a fully managed machine learning (ML) service offered by SageMaker that helps you efficiently build and train a wide range of ML models at scale. The core of SageMaker jobs is the containerization of ML workloads and the capability of managing AWS compute resources. The SageMaker Training platform takes care of the heavy lifting associated with setting up and managing infrastructure for ML training workloads. With SageMaker Training, you can focus on building, developing, training, and fine-tuning your model. ### Deploy and Monitor With Amazon SageMaker, you can start getting predictions, or inferences, from your trained machine learning models. SageMaker provides a broad selection of ML infrastructure and model deployment options to help meet all your ML inference needs. With SageMaker Inference, you can scale your model deployment, manage models more effectively in production, and reduce operational burden. SageMaker provides you with various inference options, such as real-time endpoints for getting low latency inference, serverless endpoints for fully managed infrastructure and auto-scaling, and asynchronous endpoints for batches of requests. By leveraging the appropriate inference option for your use case, you can ensure efficient and model deployment and inference. After you deploy a model into your production environment, use Amazon SageMaker model monitor to continuously monitor the quality of your machine learning models in real time. Amazon SageMaker model monitor enables you to set up an automated alert triggering system when there are deviations in the model quality, such as data drift and anomalies. Amazon CloudWatch Logs collects log files of monitoring the model status and notifies when the quality of your model hits certain thresholds that you preset. CloudWatch stores the log files to an Amazon S3 bucket you specify. Early and pro-active detection of model deviations through AWS model monitor products enables you to take prompt actions to maintain and improve the quality of your deployed model. ### Generative AI These examples showcases Amazon SageMaker's capabilities in the exciting field of generative artificial intelligence (AI). Generative AI models are designed to create new, synthetic data across various modalities, such as text, images, audio, and video, based on the patterns and relationships learned from training data. These examples provide detailed documentation, code samples, and instructions for running the generative AI models on SageMaker. And demonstrate how to preprocess data, train models, fine-tune hyperparameters, and deploy the trained models for inference. Whether you're interested in exploring the latest advancements in generative AI, or seeking to leverage these techniques for creative applications or content generation, this folder offers a comprehensive collection of examples that will help you unlock the power of SageMaker's generative AI capabilities and push the boundaries of what's possible with machine learning. ### ML Ops Amazon SageMaker supports features to implement machine learning models in production environments with continuous integration and deployment. MLOps accounts for the unique aspects of AI/ML projects in project management, CI/CD, and quality assurance, helping you improve delivery time, reduce defects, and make data science more productive. MLOps refers to a methodology that is built on applying DevOps practices to machine learning workloads. ### Responsible AI Amazon SageMaker offers features to improve your machine learning (ML) models by detecting potential bias and helping to explain the predictions that your models make from your tabular, computer vision, natural processing, or time series datasets. It helps you identify various types of bias in pre-training data and in post-training that can emerge during model training or when the model is in production. You can also evaluate a language model for model quality and responsibility metrics using foundation model evaluations. Model governance is a framework that gives systematic visibility into machine learning (ML) model development, validation, and usage. Amazon SageMaker provides purpose-built ML governance tools for managing control access, activity tracking, and reporting across the ML lifecycle. Manage least-privilege permissions for ML practitioners using Amazon SageMaker Role Manager, create detailed model documentation using Amazon SageMaker Model Cards, and gain visibility into your models with centralized dashboards using Amazon SageMaker Model Dashboard. ## :balance_scale: License This library is licensed under the [Apache 2.0 License](http://aws.amazon.com/apache2.0/). For more details, please take a look at the [LICENSE](https://github.com/aws/amazon-sagemaker-examples/blob/master/LICENSE.txt) file. ## :handshake: Contributing Although we're extremely excited to receive contributions from the community, we're still working on the best mechanism to take in examples from external sources. Please bear with us in the short-term if pull requests take longer than expected or are closed. Please read our [contributing guidelines](https://github.com/aws/amazon-sagemaker-examples/blob/default/CONTRIBUTING.md) if you'd like to open an issue or submit a pull request.

Education & Learning ML Frameworks
11K Github Stars