Web App for Containers + MySQLでコンテナ対応したRailsアプリを作ろう!Yoichi Kawasaki
Web App for Containers は、アプリスタックのホストに Docker コンテナーを使用するため皆さんが今Linux上で利用しているOSSベースのアプリもアプリスタックごとDockerコンテナ化することでそのまま Web App for Containersで利用することができます。本ウェビナーでは簡単なMySQL + Ruby on Rails アプリ を題材に、アプリをコンテナ化し Web App for Containersにデプロイするまでの一連の流れを解説し、CIツールを使った継続的なデプロイ方法についてご紹介します。今回、AzureのフルマネージドMySQLサービスであるAzure DB for MySQLを利用して完全マネージドな環境でのアプリ実行を実現します。
Japanese AdTech Industry, Community, and Use-cases on AWS -
Dynalyst, fluct, IM-DMP, UNICORN.
At "AdTech on AWS" event in Seoul on August 30th in 2017 https://aws.amazon.com/ko/events/seminars/ad-tech-on-aws-011/
#AWSAdTechJP
Branding Engineer様主催のAWSイベントの登壇資料です。"Undifferentiated Heavy Lifting"の排除、Amazon DSSTNEのご紹介、AWS Solutions Architect の活用方法、AdTech on AWS、Startup on AWSなどについてお話させていただきました。
【DLゼミ】XFeat: Accelerated Features for Lightweight Image Matchingharmonylab
公開URL:https://arxiv.org/pdf/2404.19174
出典:Guilherme Potje, Felipe Cadar, Andre Araujo, Renato Martins, Erickson R. ascimento: XFeat: Accelerated Features for Lightweight Image Matching, Proceedings of the 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) (2023)
概要:リソース効率に優れた特徴点マッチングのための軽量なアーキテクチャ「XFeat(Accelerated Features)」を提案します。手法は、局所的な特徴点の検出、抽出、マッチングのための畳み込みニューラルネットワークの基本的な設計を再検討します。特に、リソースが限られたデバイス向けに迅速かつ堅牢なアルゴリズムが必要とされるため、解像度を可能な限り高く保ちながら、ネットワークのチャネル数を制限します。さらに、スパース下でのマッチングを選択できる設計となっており、ナビゲーションやARなどのアプリケーションに適しています。XFeatは、高速かつ同等以上の精度を実現し、一般的なラップトップのCPU上でリアルタイムで動作します。
セル生産方式におけるロボットの活用には様々な問題があるが,その一つとして 3 体以上の物体の組み立てが挙げられる.一般に,複数物体を同時に組み立てる際は,対象の部品をそれぞれロボットアームまたは治具でそれぞれ独立に保持することで組み立てを遂行すると考えられる.ただし,この方法ではロボットアームや治具を部品数と同じ数だけ必要とし,部品数が多いほどコスト面や設置スペースの関係で無駄が多くなる.この課題に対して音𣷓らは組み立て対象物に働く接触力等の解析により,治具等で固定されていない対象物が組み立て作業中に運動しにくい状態となる条件を求めた.すなわち,環境中の非把持対象物のロバスト性を考慮して,組み立て作業条件を検討している.本研究ではこの方策に基づいて,複数物体の組み立て作業を単腕マニピュレータで実行することを目的とする.このとき,対象物のロバスト性を考慮することで,仮組状態の複数物体を同時に扱う手法を提案する.作業対象としてパイプジョイントの組み立てを挙げ,簡易な道具を用いることで単腕マニピュレータで複数物体を同時に把持できることを示す.さらに,作業成功率の向上のために RGB-D カメラを用いた物体の位置検出に基づくロボット制御及び動作計画を実装する.
This paper discusses assembly operations using a single manipulator and a parallel gripper to simultaneously
grasp multiple objects and hold the group of temporarily assembled objects. Multiple robots and jigs generally operate
assembly tasks by constraining the target objects mechanically or geometrically to prevent them from moving. It is
necessary to analyze the physical interaction between the objects for such constraints to achieve the tasks with a single
gripper. In this paper, we focus on assembling pipe joints as an example and discuss constraining the motion of the
objects. Our demonstration shows that a simple tool can facilitate holding multiple objects with a single gripper.
2. § Eiji Shinohara (篠原 英治)
– Twitter: @shinodogg
– Blog: shinodogg.com
§ Amazon Web Services Japan
– from August 2013
§ AWS Solutions Architect
– Market: Startup & AdTech
– Area of Depth: Search Technology
• Amazon CloudSearch
• Amazon Elasticsearch Service
§ Part-Time Graduate Student
– University of Tsukuba
– MBA in International Business w/ @werner : Amazon CTO
9. Amazon EC2 Container Service (ECS) is a highly scalable, high performance
container management service that supports Docker containers and
allows you to easily run applications on a managed cluster of Amazon
EC2 instances.
Amazon EC2 Container Service (ECS) は、⾮常にスケーラブルかつ⾼性能な、
Dockerコンテナをサポートするコンテナ管理サービスで、アプリケーションを簡
単にマネージドなEC2クラスター上で実⾏することができます。
https://aws.amazon.com/ecs/
10. Amazon ECS
§ たくさんの企業でAmazon ECSが活⽤されている
– ECSの利点に関してはMapboxのブログも是⾮ご覧ください
• We switched to ECS and you won't believe what happened next
• https://www.mapbox.com/blog/switch-to-ecs/
https://www.slideshare.net/shinodogg/aws-summit-san-francisco-2017-werner-vogels
11. Cluster
Container Instance
Amazon ECSにおけるコンテナ管理の概要図
§ クラスタ管理
– Cluster, Container
Instance, Agent
§ グループ化
– Task Definition,
Task, Container
§ スケジューラ
– Run Task, Service
Agent
Task
Container
Container
Task
Service
Task Definition
Agent
Task
Task Definition
Run Task
23. § What is ZooKeeper? https://zookeeper.apache.org/
– ZooKeeperは、設定情報 / ネーミング / 分散同期 / グループサービス を集中
管理するサービス
– 分散アプリケーションには何かしら上記のような機能が必要
– 都度それらを実装すると、バグFIXや競合状態といった問題が不可避
– こういったサービスは実装が難しく、初期の段階では妥協されることが多く、
そのような状況は変更容易性を損なわせ、管理を煩雑にする
– 正しく実装されたとしても、異なる実装であれば、アプリケーションをデプロ
イして運⽤していく上で、管理が⾯倒になってしまう
– そこでZooKeeperですよ!
“Apache ZooKeeper is an effort to develop and maintain an open-
source server which enables highly reliable distributed coordination”
24. § ZooKeeperの特徴
– ZooKeeper is simple
– ZooKeeper is ordered
– ZooKeeper is replicated
– ZooKeeper is fast
ZooKeeper :
Because Coordinating Distributed Systems is a Zoo
https://zookeeper.apache.org/doc/trunk/zookeeperOver.html
25. § API
– create
• creates a node at a location in the tree
– delete
• deletes a node
– exists
• tests if a node exists at a location
– get data
• reads the data from a node
– set data
• writes data to a node
– get children
• retrieves a list of children of a node
– sync
• waits for data to be propagated
ZooKeeper