AWS |
AWS News Blog |
AWS Week in Review – June 13, 2022 |
https://aws.amazon.com/blogs/aws/aws-week-in-review-june-13-2022/
|
AWS Week in Review June This post is part of our Week in Review series Check back each week for a quick roundup of interesting news and announcements from AWS Last Week s Launches I made a short trip to Austin Texas last week in order to visit and learn from some customers As is always the case the days when … |
2022-06-13 19:25:35 |
AWS |
AWS Security Blog |
A sneak peek at the identity and access management sessions for AWS re:Inforce 2022 |
https://aws.amazon.com/blogs/security/a-sneak-peek-at-the-identity-and-access-management-sessions-for-aws-reinforce-2022/
|
A sneak peek at the identity and access management sessions for AWS re Inforce Register now with discount code SALFNjFaRe to get off your full conference pass to AWS re Inforce For a limited time only and while supplies last AWS re Inforce will take place in person in Boston MA on July and and will include some exciting identity and access management sessions AWS re Inforce features … |
2022-06-13 19:31:17 |
AWS |
AWS Security Blog |
A sneak peek at the identity and access management sessions for AWS re:Inforce 2022 |
https://aws.amazon.com/blogs/security/a-sneak-peek-at-the-identity-and-access-management-sessions-for-aws-reinforce-2022/
|
A sneak peek at the identity and access management sessions for AWS re Inforce Register now with discount code SALFNjFaRe to get off your full conference pass to AWS re Inforce For a limited time only and while supplies last AWS re Inforce will take place in person in Boston MA on July and and will include some exciting identity and access management sessions AWS re Inforce features … |
2022-06-13 19:31:17 |
海外TECH |
MakeUseOf |
Why Is Bitcoin Going Up? What Causes Crypto to Rise in Value? |
https://www.makeuseof.com/why-is-bitcoin-going-up-cryptocurrency-rise/
|
price |
2022-06-13 19:30:13 |
海外TECH |
MakeUseOf |
How to Set Up Android Studio on Windows 10 and 11 |
https://www.makeuseof.com/windows-android-studio-setup/
|
android |
2022-06-13 19:15:13 |
海外TECH |
DEV Community |
Lunes de música... ¿Qué estás escuchando? 🎵 (13-junio) |
https://dev.to/duxtech/lunes-de-musica-que-estas-escuchando-13-junio-2ldk
|
Lunes de música ¿Quéestás escuchando junio El amor es amistad tocada como pieza musical Joseph CampbellLa música es parte importante de la vida de la mayoría de las personas y una vida no basta para poder escuchar todas las canciones que quisiéramos o conocer a todos los artistas solistas o bandas Últimamente mis gustos musicales han sido muy estáticos y siento que necesito abrir mis horizontes y poder conocer nueva música interesante Este post es la septima entrega de una serie semanal que lanzarétodos los lunes para que como comunidad podamos compartir y por quéno conocer nuevas melodías Puedes compartir tus sugerencias usando los liquid tags de Dev to por ejemplo Para compartir un video desde youtube youtube dQwwWgXcQ dQwwWgXcQ es el id del videoPara compartir una canción desde spotify spotify https open spotify com track GBwTrOpTtsLdJNDcUC si eabfb Mi sugerencia para esta semana es del artista francés Jacques y el tema La vie de tous les jours La versión original de este post esta escrito por mi amigo michaeltharrington ve y salúdalo de mi parte con una canción Music Monday ーWhat are you listening to May Michael Tharrington for music discussions・May ・ min read watercooler discuss music Los respectivos créditos a él por ser tan buena onda Michael TharringtonFollow I m a friendly non dev cisgender guy from NC who enjoys playing music making noise hiking eating veggies and hanging out with my best friend wife our kitties greyhound Y dime ¿quéestás escuchando ahora Te leo en los comentarios |
2022-06-13 19:44:53 |
海外TECH |
DEV Community |
What was your win LAST week? |
https://dev.to/devteam/what-was-your-win-last-week-57fb
|
What was your win LAST week Hey folks Sorry for leaving out the weekly wins thread again last week To be clear this is not a purposeful new pattern just a mishap But hey it s never too late to celebrate your wins Let s talk about what you re proud of from LAST week All wins count ーbig or small Examples of wins include Starting a new projectFixing a tricky bugPlanting something new in your garden or whatever else might spark joy ️I m looking forward to reading what you accomplished last week |
2022-06-13 19:29:17 |
Apple |
AppleInsider - Frontpage News |
Original Apple-1 computer signed by Steve Wozniak sold for $340,100 |
https://appleinsider.com/articles/22/06/13/original-apple-1-computer-signed-by-steve-wozniak-sold-for-340100?utm_medium=rss
|
Original Apple computer signed by Steve Wozniak sold for One of the surviving Apple I computers that was restored with nearly all period correct components was auctioned off on eBay for a six figure sum An eBay listing by The AAPL Collection for an original Apple refurbished to fully working order and signed by Apple co founder Steve Wozniak has sold for At the time of listing on May it was believed to be the only model with Wozniak s signature on the Motorola processor The listing which saw bids ended on Sunday June Read more |
2022-06-13 19:33:36 |
Apple |
AppleInsider - Frontpage News |
Lightning versus USB-C: Pros and cons for the iPhone |
https://appleinsider.com/articles/22/06/13/lightning-versus-usb-c-pros-and-cons-for-the-iphone?utm_medium=rss
|
Lightning versus USB C Pros and cons for the iPhoneThe rumor mill is hard at work trying to convince people that a USB C iPhone is coming A recent decision from the European Union may force Apple s hand iPhones with a USB A Lightning cableThe EU agreed on new rules that would require companies to adopt USB C as a common charging mechanism Apple may be forced into creating a USB C iPhone by late Read more |
2022-06-13 19:02:17 |
海外TECH |
Engadget |
FDA clears Rune Labs to use the Apple Watch to monitor Parkinson's |
https://www.engadget.com/fda-clears-rune-labs-to-use-apple-watch-to-monitor-parkinsons-194804123.html?src=rss
|
FDA clears Rune Labs to use the Apple Watch to monitor Parkinson x sTurns out the Apple Watch s motion sensors can be a useful tool for Parkinson s patients and their physicians The FDA has granted approval to Rune Labs to use their software paired with the Apple Watch to track symptoms of Parkinson s disease Reutersreported today The San Francisco based digital health startup has created software for watchOS that can detect common Parkinson s symptoms such as tremors involuntary or slow movement rigidity and poor balance Smartphone and other remote forms of monitoring Parkinson s have been around for a while but this is the first software designed for the Apple Watch that the FDA has cleared for motion disorders Since the Apple Watch Series was first released in the wearable has been able to detect hard falls and offer advanced activity metrics The company that same year added a Movement Disorder API to its open source ResearchKit opening the door for developers to create watchOS apps to track Parkinson s and other diseases As Rune Lab notes the company is the first to make use of the API for commercial purposes The watchOS app by Rune Labs will give physicians access to patient movement data over time which can further supplement the information they get from an in person physical exam Rune Labs also notes the Apple Watch s tools aren t capable of giving patients a complete picture of their disorder “Of course there are limitations to Apple s Movement Disorder kit tremor and dyskinesia are only two symptoms in Parkinson s Disease and the classifiers themselves are not yet perfect wrote Rune Labs founder Brian Pepin last year in a blog post Apple has focused a lot of time and money on expanding and updating the Watch s health and fitness tracking capabilities with many more to come in future updates Earlier this month the FDA also cleared watchOS s AFib History feature ーwhich monitors irregular and extremely rapid heartbeat ーand will be released in the upcoming watchOS update nbsp |
2022-06-13 19:48:04 |
海外科学 |
NYT > Science |
SpaceX Wins Approval for Launch of Starship Mars Rocket |
https://www.nytimes.com/2022/06/13/science/spacex-starship-faa-review.html
|
SpaceX Wins Approval for Launch of Starship Mars RocketThe Federal Aviation Administration placed conditions on the flights but ruled that a more extensive environmental review that would have caused delays was not required |
2022-06-13 19:12:06 |
海外科学 |
NYT > Science |
As the Large Hadron Collider Revs Up, Physicists’ Hopes Soar |
https://www.nytimes.com/2022/06/13/science/cern-hadron-collider-muon-leptoquark.html
|
restart |
2022-06-13 19:36:41 |
ニュース |
BBC News - Home |
UK reveals plans to ditch parts of EU Brexit deal |
https://www.bbc.co.uk/news/uk-politics-61790248?at_medium=RSS&at_campaign=KARANGA
|
international |
2022-06-13 19:02:36 |
ニュース |
BBC News - Home |
Sir Mick Jagger tests positive for Covid |
https://www.bbc.co.uk/news/entertainment-arts-61792250?at_medium=RSS&at_campaign=KARANGA
|
amsterdam |
2022-06-13 19:34:37 |
ニュース |
BBC News - Home |
England v New Zealand highlights: Hosts keep victory hopes alive |
https://www.bbc.co.uk/sport/av/cricket/61783743?at_medium=RSS&at_campaign=KARANGA
|
bridge |
2022-06-13 19:14:29 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「社外取は経営陣に挑戦せよ!」海外大物アクティビスト激白、次の標的企業は? - 社外取「欺瞞のバブル」9400人の全序列 |
https://diamond.jp/articles/-/304212
|
最高投資責任者 |
2022-06-14 04:55:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
1ドル135円を突破、「140円」阻止のカギを握る日本の貿易品目は何か - 政策・マーケットラボ |
https://diamond.jp/articles/-/304693
|
|
2022-06-14 04:50:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「警察は爬虫類型宇宙人」反ワクチン団体・神真都Q、支離滅裂な主張の数々 - コロナ陰謀論・反ワクチン団体vs潜入ジャーナリスト |
https://diamond.jp/articles/-/304651
|
「警察は爬虫類型宇宙人」反ワクチン団体・神真都Q、支離滅裂な主張の数々コロナ陰謀論・反ワクチン団体vs潜入ジャーナリストコロナ陰謀論と反ワクチンを唱える団体、「神真都Q」メンバーの逮捕は、カルトや新興宗教団体を扱う警視庁公安部公安総務課が指揮を執った。 |
2022-06-14 04:47:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【青森高校】華麗なる卒業生人脈!作家・太宰治、歌人・寺山修司、カメラマン・沢田教一… - 日本を動かす名門高校人脈 |
https://diamond.jp/articles/-/304454
|
寺山修司 |
2022-06-14 04:45:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
Excel「周囲と差がつく関数」ランキング【初級】新関数LET、XLOOKUPの順位は? - Excelエリートへの道 |
https://diamond.jp/articles/-/304362
|
Excel「周囲と差がつく関数」ランキング【初級】新関数LET、XLOOKUPの順位はExcelエリートへの道Excelの関数に対して苦手意識を持つ初心者は多いだろう。 |
2022-06-14 04:40:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
スシローが客に「2つの裏切り」、おとり広告のひどすぎる実態とは - News&Analysis |
https://diamond.jp/articles/-/304738
|
newsampampanalysis |
2022-06-14 04:37:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
CAを魅了するエグゼクティブの共通点、絶妙な「3つのテンポ」とは - ファーストクラスに乗る人の共通点 |
https://diamond.jp/articles/-/304588
|
魅了 |
2022-06-14 04:35:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
警備員が明かす「給料と業界序列」…政治家のボディーガードの意外な年収は? - 警備員は見た! |
https://diamond.jp/articles/-/304543
|
警備員が明かす「給料と業界序列」…政治家のボディーガードの意外な年収は警備員は見た一口に警備員といっても、職種によって仕事内容は大きく異なる。 |
2022-06-14 04:30:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
後払いのクレカより、即払いの「デビットカード」の方が便利な使い方とは - News&Analysis |
https://diamond.jp/articles/-/304723
|
newsampampanalysis |
2022-06-14 04:25:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
日本企業は中国の「報復制裁リスク」に備えよ、地政学リスクのプロが警告 - DOL特別レポート |
https://diamond.jp/articles/-/304722
|
日本企業 |
2022-06-14 04:20:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
テロや銃撃事件で「命を守る」正しい行動とは、元自衛隊戦闘訓練教官が指南 - News&Analysis |
https://diamond.jp/articles/-/304590
|
newsampampanalysis |
2022-06-14 04:15:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
世界経済「楽観が危うい」これだけの理由、“経済ハリケーン襲来”に備えよ - 今週のキーワード 真壁昭夫 |
https://diamond.jp/articles/-/304721
|
|
2022-06-14 04:10:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
岸田首相の“新しい資本主義”に「今更感」が強い理由、何が足りない? - 上久保誠人のクリティカル・アナリティクス |
https://diamond.jp/articles/-/304720
|
岸田首相の“新しい資本主義に「今更感」が強い理由、何が足りない上久保誠人のクリティカル・アナリティクス岸田文雄首相が掲げる経済政策「新しい資本主義」の実行計画の骨子が明らかになった。 |
2022-06-14 04:05:00 |
ビジネス |
東洋経済オンライン |
中国の「巨大EC商戦」に参戦する日本勢の深刻問題 残るロックダウンの余波、大幅値引きの弊害も | 専門店・ブランド・消費財 | 東洋経済オンライン |
https://toyokeizai.net/articles/-/596418?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
東洋経済オンライン |
2022-06-14 04:30:00 |
GCP |
Cloud Blog |
Serverless MEAN Stack Applications with Cloud Run and MongoDB Atlas |
https://cloud.google.com/blog/topics/developers-practitioners/serverless-with-cloud-run-mongodb-atlas/
|
Serverless MEAN Stack Applications with Cloud Run and MongoDB AtlasPlea and the Pledge Truly ServerlessAs modern application developers we re juggling many priorities performance flexibility usability security reliability and maintainability On top of that we re handling dependencies configuration and deployment of multiple components in multiple environments and sometimes multiple repositories as well And then we have to keep things secure and simple Ah the nightmare This is the reason we love serverless computing Serverless allows developers to focus on the thing they like to do the mostーdevelopmentーand leave the rest of the attributes including infrastructure and maintenance to the platform offerings In this read we re going to see how Cloud Run and MongoDB come together to enable a completely serverless MEAN stack application development experience We ll learn how to build a serverless MEAN application with Cloud Run and MongoDB Atlas the multi cloud application data platform by MongoDB Containerized deployments with Cloud RunAll serverless platform offer exciting capabilities Event driven function not a hard requirement though No infrastructure maintenanceUsage based pricingAuto scaling capabilitiesCloud Run stands out of the league by enabling us to Package code in multiple stateless containers that are request aware and invoke it via HTTP requestsOnly be charged for the exact resources you useSupport any programming language or any operating system library of your choice or any binaryCheck this link for more features in full context However many serverless models overlook the fact that traditional databases are not managed You need to manually provision infrastructure vertical scaling or add more servers horizontal scaling to scale the database This introduces a bottleneck in your serverless architecture and can lead to performance issues Deploy a serverless database with MongoDB AtlasMongoDB launched serverless instances a new fully managed serverless database deployment in Atlas to solve this problem With serverless instances you never have to think about infrastructure ーsimply deploy your database and it will scale up and down seamlessly based on demand ーrequiring no hands on management And the best part you will only be charged for the operations you run To make our architecture truly serverless we ll combine Cloud Run and MongoDB Atlas capabilities What s the MEAN stack The MEAN stack is a technology stack for building full stack web applications entirely with JavaScript and JSON The MEAN stack is composed of four main componentsーMongoDB Express Angular and Node js MongoDB is responsible for data storage Express js is a Node js web application framework for building APIs Angular is a client side JavaScript platform Node jsis a server side JavaScript runtime environment The server uses the MongoDB Node js driver to connect to the database and retrieve and store data Steps for deploying truly serverless MEAN stack apps with Cloud Run and MongoDBIn the following sections we ll provision a new MongoDB serverless instance connect a MEAN stack web application to it and finally deploy the application to Cloud Run Create the databaseBefore you begin get started with MongoDB Atlas on Google Cloud Once you sign up click the “Build a Database button to create a new serverless instance Select the following configuration Once your serverless instance is provisioned you should see it up and running Click on the “Connect button to add a connection IP address and a database user For this blog post we ll use the “Allow Access from Anywhere setting MongoDB Atlas comes with a set of security and access features You can learn more about them in the security features documentation article Use credentials of your choice for the database username and password Once these steps are complete you should see the following Proceed by clicking on the “Choose a connection method button and then selecting “Connect your application Copy the connection string you see and replace the password with your own We ll use that string to connect to our database in the following sections Set up a Cloud Run projectFirst sign in to Cloud Console create a new project or reuse an existing one Remember the Project Id for the project you created Below is an image from that shows how to create a new project in Google Cloud Then enable Cloud Run API from Cloud Shell Activate Cloud Shell from the Cloud Console Simply click Activate Cloud Shell Use the below command gcloud services enable run googleapis comWe will be using Cloud Shell and Cloud Shell Editor for code references To access Cloud Shell Editor click Open Editor from the Cloud Shell Terminal Finally we need to clone the MEAN stack project we ll be deploying We ll deploy an employee management web application The REST API is built with Express and Node js the web interface with Angular and the data will be stored in the MongoDB Atlas instance we created earlier Clone the project repository by executing the following command in the Cloud Shell Terminal git clone In the following sections we will deploy a couple of servicesーone for the Express REST API and one for the Angular web application Deploy the Express and Node js REST APIFirst we ll deploy a Cloud Run service for the Express REST API The most important file for our deployment is the Docker configuration file Let s take a look at it mean stack example server Dockerfilecode block StructValue u code u Use the official lightweight Node js image r n r nFROM node slim r n r nWORKDIR usr app r nCOPY usr app r n r n Install dependencies and build the project r nRUN npm install r nRUN npm run build r n r n Run the web service on container startup r nCMD node dist server js u language u The configuration sets up Node js and copies and builds the project When the container starts the command “node dist server js starts the service To start a new Cloud Run deployment click on the Cloud Run icon on the left sidebar Then click on the Deploy to Cloud Run icon Fill in the service configuration as follows Service name node express api Deployment platform Cloud Run fully managed Region Select a region close to your database region to reduce latency Authentication Allow unauthenticated invocationsUnder Revision Settings click on Show Advanced Settings to expand them Container port Environment variables Add the following key value pair and make sure you add the connection string for your own MongoDB Atlas deployment ATLAS URI mongodb srv lt username gt lt password gt sandbox pvl mongodb net meanStackExample retryWrites true amp w majorityFor the Build environment select Cloud Build Finally in the Build Settings section select Builder Docker Docker mean stack example server DockerfileClick the Deploy button and then Show Detailed Logs to follow the deployment of your first Cloud Run service After the build has completed you should see the URL of the deployed service Open the URL and append employees to the end You should see an empty array because currently there are no documents in the database Let s deploy the user interface so we can add some Deploy the Angular web applicationOur Angular application is in the client directory To deploy it we ll use the Nginx server and Docker gt Just a thought there is also an option to use Firebase Hosting for your Angular application deployment as you can serve your content to a CDN content delivery network directly Let s take a look at the configuration files mean stack example client nginx confcode block StructValue u code u events r n r nhttp r n r n include etc nginx mime types r n r n server r n listen r n server name r n root usr share nginx html r n index index html r n r n location r n try files uri uri index html r n r n r n u language u In the Nginx configuration we specify the default portー and the starting fileーindex html mean stack example client Dockerfilecode block StructValue u code u FROM node slim AS build r n r nWORKDIR usr src app r nCOPY package json package lock json r n r n Install dependencies and copy them to the container r nRUN npm install r nCOPY r n r n Build the Angular application for production r nRUN npm run build prod r n r n Configure the nginx web server r nFROM nginx alpine r nCOPY nginx conf etc nginx nginx conf r nCOPY from build usr src app dist client usr share nginx html r n r n Run the web service on container startup r nCMD nginx g daemon off u language u In the Docker configuration we install Node js dependencies and build the project Then we copy the built files to the container configure and start the Nginx service Finally we need to configure the URL to the REST API so that our client application can send requests to it Since we re only using the URL in a single file in the project we ll hardcode the URL Alternatively you can attach the environment variable to the window object and access it from there mean stack example client src app employee service tscode block StructValue u code u u r n r n Injectable r n providedIn root r n r nexport class EmployeeService r n Replace with the URL of your REST API r n private url r n u u language u We re ready to deploy to Cloud Run Start a new deployment with the following configuration settings Service Settings Create a service Service name angular web app Deployment platform Cloud Run fully managed Authentication Allow unauthenticated invocationsFor the Build environment select Cloud Build Finally in the Build Settings section select Builder Docker Docker mean stack example client DockerfileClick that Deploy button again and watch the logs as your app is shipped to the cloud When the deployment is complete you should see the URL for the client app Open the URL and play with your application Demo video Command shell alternative for build and deployThe steps covered above can alternatively be implemented from Command Shell as below Create the new project directory named “mean stack example either from the Code Editor or Cloud Shell Command Terminal mkdir mean stack demo cd mean stack demo Clone project repo and make necessary changes in the configuration and variables same as mentioned in the previous section Build your container image using Cloud build by running the command in Cloud Shell gcloud builds submit tag gcr io GOOGLE CLOUD PROJECT mean stack demo GOOGLE CLOUD PROJECT is an environment variable containing your Google Cloud project ID when running in Cloud Shell Test it locally by running docker run d p gcr io GOOGLE CLOUD PROJECT mean stack demoand by clicking Web Preview Preview on port Run the following command to deploy your containerized app to Cloud Run gcloud run deploy mean stack demo image gcr io GOOGLE CLOUD PROJECT mean stack demo platform managed region us central allow unauthenticated update env vars DBHOST DB HOSTa allow unauthenticated will let the service be reached without authentication b platform managed means you are requesting the fully managed environment and not the Kubernetes one via Anthos c update env vars expects the MongoDB Connection String to be passed on to the environment variable DBHOST Hang on until the section on Env variable and Docker for Continuous Deployment for Secrets and Connection URI management d When the deployment is done you should see the deployed service URL in the command line e When you hit the service URL you should see your web page on the browser and the logs in the Cloud Logging Logs Explorer page Environment variables and Docker for continuous deploymentIf you re looking to automate the process of building and deploying across multiple containers services or components storing these configurations in the repo is not only cumbersome but also a security threat For ease of cross environment continuous deployment and to avoid security vulnerabilities caused by leaking credential information we can choose to pass variables at build deploy up time update env vars allows you to set the environment variable to a value that is passed only at run time In our example the variable DBHOST is assigned the value of DB HOST which is set as DB HOST lt lt ENCODED CONNECTION URI gt gt Please note that unencoded symbols in Connection URI username password will result in connection issues with MongoDB For example if you have a in the password or username replace it with in the encoded Connection URI Alternatively you can also pass configuration variables as env variables at build time into docker compose docker compose yml By passing configuration variables and credentials we avoid credential leakage and automate deployment securely and continuously across multiple environments users and applications ConclusionMongoDB Atlas with Cloud Run makes for a truly serverless MEAN stack solution and for those looking to build an application with a serverless option to run in a stateless container Cloud Run is your best bet Before you go…Now that you have learnt how to deploy a simple MEAN stack application on Cloud Run and MongoDB Atlas why don t you take it one step further with your favorite client server use case Reference the below resources for more inspiration Cloud Run HelloWorld MongoDB MEAN Stack If you have any comments or questions feel free to reach out to us online Abirami Sukumaran and Stanimira Vlaeva |
2022-06-13 20:00:00 |
コメント
コメントを投稿