並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 35 件 / 35件

新着順 人気順

aws lambda python examples githubの検索結果1 - 35 件 / 35件

  • Rust で Web バックエンド開発をはじめる | CyberAgent Developers Blog

    こんにちは。サイバーエージェント AI 事業本部 Dynalyst にて、ソフトウェアエンジニアをしている豊田(@helloyuki_)です。また、Rust 領域における Next Experts も務めています。 先日、CA BASE NEXT という CyberAgent が開催する20代が中心のカンファレンス[^1]に、私も一応20代ということで登壇させていただきました。 内容は Web アプリケーション開発を Rust で行った体験談を語るというものでした。実際に2018年〜2020年頃に Rust をとあるチームのアプリケーションに導入し、引き継ぎのために何をしたかという内容をお話させていただきました。 セッション自体は25分しかなく、またコード例をスライドからかなり削るなど、CG スタジオ仕様への対応が必要でした。というわけで、十分に伝えたいことを盛り込めたわけではありませんで

      Rust で Web バックエンド開発をはじめる | CyberAgent Developers Blog
    • AWS CDKでクラウドアプリケーションを開発するためのベストプラクティス | Amazon Web Services

      Amazon Web Services ブログ AWS CDKでクラウドアプリケーションを開発するためのベストプラクティス この記事では、AWS Cloud Development Kit (AWS CDK) を中心とした、大規模なチームで複雑なクラウドアプリケーションの開発を組織化するための戦略について説明します。AWS CDK では、開発者や管理者は、TypeScript、Python、Java、C#などの使い慣れたプログラミング言語を使ってクラウドアプリケーションを定義することができます。アプリケーションは、Stage、Stack、Constructに整理されており、ランタイムロジック (AWS Lambda コードやコンテナ化されたサービスなど) と、Amazon Simple Storage Service (Amazon S3) バケット、Amazon Relational D

        AWS CDKでクラウドアプリケーションを開発するためのベストプラクティス | Amazon Web Services
      • GitHub - modelcontextprotocol/servers: Model Context Protocol Servers

        Official integrations are maintained by companies building production ready MCP servers for their platforms. 21st.dev Magic - Create crafted UI components inspired by the best 21st.dev design engineers. ActionKit by Paragon - Connect to 130+ SaaS integrations (e.g. Slack, Salesforce, Gmail) with Paragon’s ActionKit API. Adfin - The only platform you need to get paid - all payments in one place, in

          GitHub - modelcontextprotocol/servers: Model Context Protocol Servers
        • サーバレスにおけるRustについて - NTT docomo Business Engineers' Blog

          この記事は、 NTT Communications Advent Calendar 2023 22日目の記事です。 はじめに こんにちは、イノベーションセンターの鈴ヶ嶺です。普段は、クラウド・ハイブリッドクラウド・エッジデバイスなどを利用したAI/MLシステムに関する業務に従事しています。 本記事は、各クラウドベンダーのサーバレスにおけるプログラミング言語Rustについて調査・比較した結果を紹介します。 まず初めにサーバレスでRustを利用するメリットをエネルギー効率の観点から説明し、次に各クラウドベンダーの関連記事をピックアップします。 さらに、それぞれのクラウドでRustを使ったサーバレスアプリの代表的な作成方法を紹介して比較します。 Rustのエネルギー効率 Rustは、次の公式ページでも宣伝している通りパフォーマンスを強くアピールしています。 Rustは非常に高速でメモリ効率が高く

            サーバレスにおけるRustについて - NTT docomo Business Engineers' Blog
          • Best practices for developing cloud applications with AWS CDK | Amazon Web Services

            AWS DevOps & Developer Productivity Blog Best practices for developing cloud applications with AWS CDK April 20, 2022: Updates are available in the Best practices topic of the AWS CDK documentation. The documentation is the most up-to-date resource going forward. In this post, we discuss strategies for organizing the development of complex cloud applications with large teams, using the AWS Cloud D

              Best practices for developing cloud applications with AWS CDK | Amazon Web Services
            • Amazon Bedrockの基本情報とRuntime APIの実行例まとめ - 参考資料、モデルの特徴、価格、使用方法、トークンと推論パラメータの説明 - NRIネットコムBlog

              小西秀和です。 今回は2023-09-28にGeneral Availability(GA)になったAmazon Bedrockの基本情報、Runtime APIの実行例についてまとめました。また、トークンやパラメータのイメージをつかむための必要最小限の用語説明も所々入れています。 最終更新日:2024/06/21 ※AWS re:Invent 2024後の2024年末時点におけるAmazon Bedrockのモデル一覧は以下の記事で紹介しています。 Amazon Bedrock Models as of 2024 - An Analysis of the Comprehensive Model Catalog ※本記事および当執筆者のその他の記事で掲載されているソースコードは自主研究活動の一貫として作成したものであり、動作を保証するものではありません。使用する場合は自己責任でお願い致しま

                Amazon Bedrockの基本情報とRuntime APIの実行例まとめ - 参考資料、モデルの特徴、価格、使用方法、トークンと推論パラメータの説明 - NRIネットコムBlog
              • Amazon BedrockのMulti Agent Collaboration で高度なエージェント連携を実現 - Taste of Tech Topics

                はじめに 最近OSSのLLMサービスが気になっているデータ分析エンジニアの木介です。 今回は2024年12月に発表された、Amazon Bedrockの「Multi Agent Collaboration」について実際にサンプルコードを動かしながら解説していきます。 aws.amazon.com Multi Agent Collaborationとは 1. 概要 Multi Agent Collaborationとは、Amazon Bedrockが提供する新機能で、複数のAI Agentが協力してタスクをこなすことができる機能です。 AWS公式ブログにあったソーシャルメディアキャンペーンの例では以下のようなものが紹介されていました。 ユーザーから受けたリクエストを、Supervisor Agentが受け取る。 コンテンツ作成を専門とするAgentに投稿の作成を依頼する。 エンゲージメント予

                  Amazon BedrockのMulti Agent Collaboration で高度なエージェント連携を実現 - Taste of Tech Topics
                • Introducing AWS Lambda response streaming | Amazon Web Services

                  AWS Compute Blog Introducing AWS Lambda response streaming Today, AWS Lambda is announcing support for response payload streaming. Response streaming is a new invocation pattern that lets functions progressively stream response payloads back to clients. You can use Lambda response payload streaming to send response data to callers as it becomes available. This can improve performance for web and m

                    Introducing AWS Lambda response streaming | Amazon Web Services
                  • Stable Diffusion (Diffusers)でLoRA~理論と実践~ | Shikoan's ML Blog

                    Stable DiffusionでのLoRAをdiffusersで試してみます。3Dモデルに対して、Unityで透過スクショを撮りLoRAで学習させるというよくあるやり方ですが、LoRAにおけるData Augmentationの有効性など興味深い点が確認できました。 はじめに 前々から気になっていたStable DiffusionのLoRAを使ってみました。3DモデルからスクショをとってLoRAで学習させるという「何番煎じだお前」って手法ですが、なかなかおもしろい結果になりました。 公式ドキュメント:https://huggingface.co/docs/diffusers/training/lora LoRAとは LoRAってよく使われる割には原著論文がそこまで解説されない気はします笑 (自分はNLPの専門家ではないので、この論文はさーっとしか読んでいませんが、 )原著論文はこちらで、

                      Stable Diffusion (Diffusers)でLoRA~理論と実践~ | Shikoan's ML Blog
                    • Better together: AWS SAM CLI and HashiCorp Terraform | Amazon Web Services

                      AWS Compute Blog Better together: AWS SAM CLI and HashiCorp Terraform This post is written by Suresh Poopandi, Senior Solutions Architect and Seb Kasprzak, Senior Solutions Architect. Today, AWS is announcing the public preview of AWS Serverless Application Model CLI (AWS SAM CLI) support for local development, testing, and debugging of serverless applications defined using HashiCorp Terraform con

                        Better together: AWS SAM CLI and HashiCorp Terraform | Amazon Web Services
                      • Cloudflare WorkersでサーバーレスPythonアプリを構築してみよう | gihyo.jp

                        筒井(@ryu22e)です。2024年7月の「Python Monthly Topics」は、Cloudflare WorkersのPythonサポートについて解説します。 前半ではCloudflare WorkersでPythonを使う方法について、後半ではCloudflare WorkersでPythonを動かす仕組みと技術的制限について解説します。 なお、Cloudflare WorkersのPythonサポートは本記事執筆時点(2024年7月24日)でオープンベータ版です。正式リリース時には仕様が変更される可能性があります。また、一部機能はローカル環境でしか利用できません。 Cloudflare Workersとは Cloudflare Workersは、Cloudflareが提供するサーバーレスアプリケーションを構築・デプロイするためのプラットフォームです。主に以下のような特徴が

                          Cloudflare WorkersでサーバーレスPythonアプリを構築してみよう | gihyo.jp
                        • Introducing the AWS Integrated Application Test Kit (IATK) | Amazon Web Services

                          AWS Compute Blog Introducing the AWS Integrated Application Test Kit (IATK) This post is written by Dan Fox, Principal Specialist Solutions Architect, and Brian Krygsman, Senior Solutions Architect. Today, AWS announced the public preview launch of the AWS Integrated Application Test Kit (IATK). AWS IATK is a software library that helps you write automated tests for cloud-based applications. This

                            Introducing the AWS Integrated Application Test Kit (IATK) | Amazon Web Services
                          • Graceful shutdowns with ECS | Amazon Web Services

                            Containers Graceful shutdowns with ECS February 2023: Parts of this blog are no longer accurate. Following enhancements to the ELB integration for ECS services, tasks running on Fargate Spot will be deregistered from a target group if it receives a spot termination notice before a SIGTERM is issued to the Task. Introduction Amazon Elastic Container Service (Amazon ECS) gives customers the flexibil

                              Graceful shutdowns with ECS | Amazon Web Services
                            • 正式リリースになった AWS SAM CLI の Terraform サポート機能を試す - kakakakakku blog

                              2023年9月5日に AWS SAM CLI の Terraform サポート機能が GA (正式リリース)になった👏 Amazon API Gateway や AWS Lambda 関数などサーバーレス関連のコンポーネントは Terraform で統一的に管理しつつも,AWS SAM CLI の開発支援機能(sam local invoke コマンドや sam local start-api コマンドでローカルデバッグ)は使いたい❗️という場面はあって非常に便利な組み合わせだと思う. aws.amazon.com 実際にどういう開発体験なのかを確認するために AWS ブログに載っていたサンプルを試してみる \( 'ω')/ aws.amazon.com 検証環境 今回は macOS 上で SAM CLI 1.97.0(最新)と Terraform 1.5.7(最新)を使う. $ sam

                                正式リリースになった AWS SAM CLI の Terraform サポート機能を試す - kakakakakku blog
                              • [登壇レポート]「生成AI時代の必須スキル!RAGの回答精度向上のコツ全部教えます」で登壇しました | DevelopersIO

                                新規事業部 生成AIチームの山本です。 2024/04/24にオンラインで開催した弊社セミナー「生成AI時代の必須スキル!RAGの回答精度向上のコツ全部教えます」にて登壇をしましたので、自分の発表資料を共有いたします。 資料 資料に関する補足 今回は、RAGを始めたい方や始めてすぐな方に向けて登壇を行いました メインの内容は、1~73ページです。 また補足として、既にRAGを導入し進めている方向けに、補足情報を74ページ以降に記載しました。 Q&A 以下、いただいた質問と、差し上げた回答の内容です。山本がメインで回答していますが、一部は(同じく登壇した)熊谷が回答しました。一部、本記事の記載に伴い補足を追加しました。 Q: LLMとragを活用し、毎日の1000人規模全社のeメール(参考ドキュメント)から、トラブルや不正予兆のあるメールを抽出することはできますか。なお、教師データ(メール)

                                  [登壇レポート]「生成AI時代の必須スキル!RAGの回答精度向上のコツ全部教えます」で登壇しました | DevelopersIO
                                • AWS SAM support for HashiCorp Terraform now generally available | Amazon Web Services

                                  AWS Compute Blog AWS SAM support for HashiCorp Terraform now generally available In November 2022, AWS announced the public preview of AWS Serverless Application Model (AWS SAM) support for HashiCorp Terraform. The public preview introduces a subset of features to help Terraform users test serverless applications locally. Today, AWS is announcing the general availability of Terraform support in AW

                                    AWS SAM support for HashiCorp Terraform now generally available | Amazon Web Services
                                  • Go で IaC してみる / AWS CDK・CDK for Terraform・Pulumi - Techtouch Developers Blog

                                    テックタッチアドベントカレンダー 13 日目を担当する taisa です。少しずつ減らしていった体重が 2 ヶ月で 6 kg リバウンドして完全に元に戻りました。 さて今年、AWS CDK v2 の開発者プレビューで Go を使えるようになり、CDK for Terraform でも Go を実験的(experimental)に使えるようになりました。 これらは、まだ開発者プレビューや実験的であるため本番においては投入できませんが、アドベントカレンダーをきっかけに触ってみました。また他にも Go が利用できる IaC(Infrastructure as Code) プラットフォームとして Pulumi があるので合わせて触ってみました。 aws.amazon.com www.hashicorp.com www.pulumi.com 各フレームワーク・ライブラリの概要 AWS CDK CDK

                                      Go で IaC してみる / AWS CDK・CDK for Terraform・Pulumi - Techtouch Developers Blog
                                    • AWS Lambda Powertools TypeScript がbeta releaseされたので触ってみた。 | DevelopersIO

                                      AWS Lambda Powertools TypeScript がbetaリリースされたと古巣のCDOが教えてくれたので触ってみました? AWSの中の人のツイートはこれです。 I am ✨thrilled✨ to announce that the beta release of AWS Lambda Powertools TypeScript is public? It provides a suite of utilities for Node.js Lambda functions to ease the adoption of best practices such as tracing, structured logging, custom metrics ✨https://t.co/6xYpOEY5zM — Sara Gerion (@Sarutule) January 5,

                                        AWS Lambda Powertools TypeScript がbeta releaseされたので触ってみた。 | DevelopersIO
                                      • Training a reinforcement learning Agent with Unity and Amazon SageMaker RL | Amazon Web Services

                                        Artificial Intelligence Training a reinforcement learning Agent with Unity and Amazon SageMaker RL Unity is one of the most popular game engines that has been adopted not only for video game development but also by industries such as film and automotive. Unity offers tools to create virtual simulated environments with customizable physics, landscapes, and characters. The Unity Machine Learning Age

                                          Training a reinforcement learning Agent with Unity and Amazon SageMaker RL | Amazon Web Services
                                        • Introducing AWS MCP Servers for code assistants (Part 1) | Amazon Web Services

                                          Artificial Intelligence Introducing AWS MCP Servers for code assistants (Part 1) We’re excited to announce the open source release of AWS MCP Servers for code assistants — a suite of specialized Model Context Protocol (MCP) servers that bring Amazon Web Services (AWS) best practices directly to your development workflow. Our specialized AWS MCP servers combine deep AWS knowledge with agentic AI ca

                                            Introducing AWS MCP Servers for code assistants (Part 1) | Amazon Web Services
                                          • Introducing a Public Registry for AWS CloudFormation | Amazon Web Services

                                            AWS News Blog Introducing a Public Registry for AWS CloudFormation AWS CloudFormation and the AWS Cloud Development Kit (AWS CDK) (CDK) provide scalable and consistent provisioning of AWS resources (for example, compute infrastructure, monitoring tools, databases, and more). We’ve heard from many customers that they’d like to benefit from the same consistency and scalability when provisioning reso

                                              Introducing a Public Registry for AWS CloudFormation | Amazon Web Services
                                            • Awesome Terraform | Curated list of awesome lists | Project-Awesome.org

                                              A curated list of resources on HashiCorp's Terraform. Your contributions are welcome! Terraform enables you to safely and predictably create, change, and improve production infrastructure. It is an open source tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned. Contents Legend Official Resources Com

                                              • 負荷試験ツール Locust を使って秒間 1 万リクエスト以上の負荷をかける - PLAY DEVELOPERS BLOG

                                                こんにちは、メディアプラットフォーム事業部の多保です。 当社は動画配信のプラットフォームを提供しており、 動画配信の開発プロセスにおいて避けて通れないのが負荷試験になります。 どのくらいの負荷に耐えうるアーキテクチャになっているか? 実装になっているか? 負荷試験によって事前に把握し、改善することが重要です。 今回は当社で活用している負荷試験のツールの紹介と環境構築、その使い方について簡単に紹介しつつ 最終目標として「秒間1万リクエストの負荷をかけることができる負荷試験環境の構築」を行います。 本記事の内容はMacでの操作を想定しています。 負荷試験ツールLocustについて Locustをインストールしよう ローカルでLocustを起動してみよう 簡単なAPIを作成しよう ローカルから負荷をかけてみよう 負荷試験の結果を見てみよう テストシナリオを構築してみよう AWSでLocustを起

                                                  負荷試験ツール Locust を使って秒間 1 万リクエスト以上の負荷をかける - PLAY DEVELOPERS BLOG
                                                • Three ways to use AWS services from a Lambda in a VPC | DeBrie Advisory

                                                  When building an application with AWS Lambda, you may need to host your Lambda function in a VPC. The most common reason for this is because your Lambda function will use other resources which aren't accessible from the public internet, such as a relational database or Redis instance. Since the improvement of VPC cold starts in 2019, hosting a Lambda function inside a VPC is more feasible even for

                                                    Three ways to use AWS services from a Lambda in a VPC | DeBrie Advisory
                                                  • AWS CDKでエンタープライズアプリケーションを開発する | Amazon Web Services

                                                    Amazon Web Services ブログ AWS CDKでエンタープライズアプリケーションを開発する エンタープライズのお客様は、ガバナンスやコンプライアンス・品質管理のために Infrastructure as Code (IaC)を標準化しなければならない場合があります。さらに、IaCのライブラリやそのアップデートを中央集権的に管理しなければならない場合もあるでしょう。それらを実現するため、この記事では AWS Cloud Development Kit (AWS CDK) を利用してIaCのパターンを定義する方法や、AWS CodeArtifactを利用してIaCの更新リリースを統制する方法を紹介します。 AWS CDKは、クラウドリソースを定義・プロビジョニングするためのオープンソースの開発フレームワークです。TypeScriptやJavaScript、Python、Java

                                                      AWS CDKでエンタープライズアプリケーションを開発する | Amazon Web Services
                                                    • AWS SAM による HashiCorp Terraform のサポートが一般利用可能に | Amazon Web Services

                                                      Amazon Web Services ブログ AWS SAM による HashiCorp Terraform のサポートが一般利用可能に 本記事は、『AWS SAM support for HashiCorp Terraform now generally available』の翻訳です。 2022 年 11 月、AWS は HashiCorp Terraform の AWS Serverless Application Model (AWS SAM) サポートのパブリックプレビューを発表しました。パブリックプレビューでは、Terraform ユーザーがサーバーレスアプリケーションをローカルでテストするのに役立つ機能のサブセットを取り入れました。本日 (2023 年 9 月 5 日)、AWS は AWS SAM における Terraform サポートの一般提供を開始します。この GA リ

                                                        AWS SAM による HashiCorp Terraform のサポートが一般利用可能に | Amazon Web Services
                                                      • Effectively building AI agents on AWS Serverless | Amazon Web Services

                                                        AWS Compute Blog Effectively building AI agents on AWS Serverless Imagine an AI assistant that doesn’t just respond to prompts – it reasons through goals, acts, and integrates with real-time systems. This is the promise of agentic AI. According to Gartner, by 2028 over 33% of enterprise applications will embed agentic capabilities – up from less than 1% today. While early generative AI efforts foc

                                                          Effectively building AI agents on AWS Serverless | Amazon Web Services
                                                        • Raising code quality for Python applications using Amazon CodeGuru | Amazon Web Services

                                                          AWS DevOps & Developer Productivity Blog Raising code quality for Python applications using Amazon CodeGuru We are pleased to announce the launch of Python support for Amazon CodeGuru, a service for automated code reviews and application performance recommendations. CodeGuru is powered by program analysis and machine learning, and trained on best practices and hard-learned lessons across millions

                                                            Raising code quality for Python applications using Amazon CodeGuru | Amazon Web Services
                                                          • Building and deploying an object detection computer vision application at the edge with AWS Panorama | Amazon Web Services

                                                            Artificial Intelligence Building and deploying an object detection computer vision application at the edge with AWS Panorama Computer vision (CV) is sought after technology among companies looking to take advantage of machine learning (ML) to improve their business processes. Enterprises have access to large amounts of video assets from their existing cameras, but the data remains largely untapped

                                                              Building and deploying an object detection computer vision application at the edge with AWS Panorama | Amazon Web Services
                                                            • Build workflows for Amazon Forecast with AWS Step Functions | Amazon Web Services

                                                              AWS Compute Blog Build workflows for Amazon Forecast with AWS Step Functions This post is written by Péter Molnár, Data Scientist, ML ProServe and Sachin Doshi, Senior Application Architect, ProServe. This blog builds a full lifecycle workflow for Amazon Forecast to predict household electricity consumption from historic data. Previously, developers used AWS Lambda function to build workflows for

                                                                Build workflows for Amazon Forecast with AWS Step Functions | Amazon Web Services
                                                              • Developing enterprise application patterns with the AWS CDK | Amazon Web Services

                                                                AWS DevOps & Developer Productivity Blog Developing enterprise application patterns with the AWS CDK Enterprises often need to standardize their infrastructure as code (IaC) for governance, compliance, and quality control reasons. You also need to manage and centrally publish updates to your IaC libraries. In this post, we demonstrate how to use the AWS Cloud Development Kit (AWS CDK) to define pa

                                                                  Developing enterprise application patterns with the AWS CDK | Amazon Web Services
                                                                • Unexpected security footguns in Go's parsers

                                                                  Parsing in GoLet’s examine how Go parses JSON, XML, and YAML. Go’s standard library provides JSON and XML parsers but not a YAML parser, for which there are several third-party alternatives. For our analysis, we’ll focus on: encoding/json version go1.24.1encoding/xml version go1.24.1yaml.v3 version 3.0.1 (the most popular third-party Go YAML library)We’ll use JSON in our following examples, but al

                                                                    Unexpected security footguns in Go's parsers
                                                                  • 独自設計チップ AWS Trainium 搭載 Amazon EC2 Trn1 インスタンスで ML トレーニングを高速実行(実践編) | Amazon Web Services

                                                                    Amazon Web Services ブログ 独自設計チップ AWS Trainium 搭載 Amazon EC2 Trn1 インスタンスで ML トレーニングを高速実行(実践編) こんにちは!アマゾン ウェブ サービス ジャパン合同会社 アンナプルナラボの常世です。 2022 年 10 月 10 日に一般提供開始した Amazon EC2 Trn1 インスタンスはもうお試し頂けましたでしょうか? 本ブログは、「独自設計チップ AWS Trainium 搭載 Amazon EC2 Trn1 インスタンスで ML トレーニングを高速実行(基礎編)」の続編です。まだご覧になってない方は是非「基礎編」をご一読下さい。 基礎編では Trn1 インスタンスと AWS 自身が開発した Trn1 インスタンスの心臓部とも言える第二世代の ML 専用チップ AWS Trainium を紹介しました。本ブ

                                                                      独自設計チップ AWS Trainium 搭載 Amazon EC2 Trn1 インスタンスで ML トレーニングを高速実行(実践編) | Amazon Web Services
                                                                    • Kappa Architecture is Mainstream Replacing Lambda - Kai Waehner

                                                                      Real-time data beats slow data. That’s true for almost every use case. Nevertheless, enterprise architects build new infrastructures with the Lambda architecture that includes separate batch and real-time layers. This blog post explores why a single real-time pipeline, called Kappa architecture, is the better fit. Real-world examples from companies such as Disney, Shopify, Uber, and Twitter explor

                                                                        Kappa Architecture is Mainstream Replacing Lambda - Kai Waehner
                                                                      • MLOps foundation roadmap for enterprises with Amazon SageMaker | Amazon Web Services

                                                                        Artificial Intelligence MLOps foundation roadmap for enterprises with Amazon SageMaker As enterprise businesses embrace machine learning (ML) across their organizations, manual workflows for building, training, and deploying ML models tend to become bottlenecks to innovation. To overcome this, enterprises needs to shape a clear operating model defining how multiple personas, such as data scientist

                                                                          MLOps foundation roadmap for enterprises with Amazon SageMaker | Amazon Web Services
                                                                        1