teleren/devto huggingface dataset:
AWS 基礎 Part 11 -- ECR に Spring アプリをデプロイする
Tags: aws, ecr, spring
Published: 2023-02-13 09:13:04


## 前提

1. ECR への nginx イメージの push と ECS の動作確認はできている
2. Spring アプリの Docker イメージへのビルドと動作確認はできている。

https://dev.to/kaede_io/ecr-elastic-container-registory-ni-ngnix-no-docker-imeziwo-push-suru-456i

AWS 基礎 Part 02 で ECR に nignx のコンテナをデプロイした。

https://dev.to/kaede_io/kotlin-ji-chu-part-13-spring-apuriwo-docker-imezinibirudositeshi-xing-suru-1a6i

Kotlin 基礎 Part 13 で　Spring アプリを Docker コンテナにビルドした。実行して動作確認済み。

今回は Spring アプリを ECR にデプロイする。

---

# ECR push 

---

## push 用のイメージの作成

```php
docker build . -t hello-spring --platform linux/amd64

docker images
REPOSITORY                TAG             IMAGE ID       CREATED          SIZE
hello-spring              latest          39cba615c41c   12 minutes ago   382MB
```

hello-spring のイメージ名でビルドする。

---

## push 先のリポジトリを作成

ECR リポジトリ作る

- 公開設定: private
- リポジトリ名: hello-spring

これでリポジトリを作成する。


---

## イメージにタグつけする

```php
docker tag hello-spring:latest \
{userId}.dkr.ecr.ap-northeast-1.amazonaws.com/hello-spring:latest

docker images

{userId}.dkr.ecr.ap-northeast-1.amazonaws.com/hello-spring   latest          39cba615c41c   33 minutes ago   382MB
```

先ほど作成した hello-spirng のイメージに 
{userId}.dkr.ecr.ap-northeast-1.amazonaws.com/
のタグをつける

---

## リポジトリにローカルからログインする

```php
aws ecr get-login-password \
--region \ap-northeast-1 | \
docker login --username AWS --password-stdin \
{userId}.dkr.ecr.ap-northeast-1.amazonaws.com
```

これでイメージを ECR に push できるようになった

---

## イメージを ECR に push する

```php
docker push \
{userId}.dkr.ecr.ap-northeast-1.amazonaws.com/hello-spring:latest

The push refers to repository 
[803827238734.dkr.ecr.ap-northeast-1.amazonaws.com/hello-spring]
2da32836aa49: Pushed 
2f27ef47a1b3: Pushed 
a7f0709c283b: Pushed 
f9e315186df9: Pushed 
8e012198eea1: Pushed 
latest: digest: sha256:ce76782dfcba3524d9a3ba020a700f5798c22ab87ff6d00f8d36768d35a96970 size: 1372
```

dokcer push リポジトリ名で push できる

---

## ECR で確認する


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h9htkswxzb2r5vk5gz59.png)

push されて届いているのを確認できた。
Quietum Plus - Eye Supplement, Benefits, Uses, Price, Scam Or Legit?
Tags: webdev, javascript, beginners, programming
Published: 2023-02-13 09:05:42

You locate Roffler [Quietum Plus](url) online, at their college while in fine barber shops in every state. You can make the hair you want with this hair care line like it gives that you' compete system for nice hair a person need to can use everyday for the look you want.
[](https://www.outlookindia.com/outlook-spotlight/quietum-plus-reviews-2023-fake-customer-warnings-ingredients-works-or-scam-buyers-must-know-complaints-side-effects-news-261148)
https://lookerstudio.google.com/reporting/481d2960-c72d-4d44-a798-eb538c5cf338
https://colab.research.google.com/drive/1w10nIo6xljc2mtz0eMR_Dscr21nEG9SD
https://groups.google.com/g/quietumplusinfo/c/r4TLk9XXsGE
https://sites.google.com/view/quietumplus-eye-benefits/
https://quietumplusfact.blogspot.com/2023/02/quietumplus.html
https://dsansbvpa.podbean.com/
Diaetostat – Gewichtsverlust Fatburner?
Tags: diaetostat
Published: 2023-02-13 08:59:48

Die Vorteile des Diaetostat
Es gibt viele Vorteile, wenn man den Diaetostat zu seinem Lebensstil hinzufügt. Hier sind die Hauptvorteile dieses Systems, damit Frauen wissen, worauf sie sich freuen können:

Ein 21-Tage-System
Erstens beginnt dieses Programm sofort zu arbeiten und am 21-Tage-Punkt werden Frauen in der Lage sein, signifikante Veränderungen an ihrer Figur, ihrem Gefühl und ihrer Gesundheit zu bemerken. Dieses System bietet Frauen alles, was sie brauchen, um das Übergewicht loszuwerden und sich glücklicher und wärmer zu fühlen.

Zugängliche Lebensmittel und einfache Rezepte
Zweitens bietet dieses System Frauen eine Reihe von Schilddrüsen-verbessernden Lebensmitteln und Rezepten. Die gute Nachricht ist, dass alle diese Lebensmittel zugänglich sind und im örtlichen Lebensmittelgeschäft zu finden sind. Darüber hinaus sind die Rezepte selbst sehr einfach zuzubereiten und können in weniger als 30 Minuten abgeschlossen werden.

Signifikanter Gewichtsverlust und höhere Energieniveaus

Drittens können diejenigen, die dieses Programm an ihren Lebensstil anpassen, in kurzer Zeit eine erhebliche Menge an Gewicht verlieren. Darüber hinaus erzeugt das System ein höheres Energieniveau, so dass Frauen täglich produktiv, energiegeladen und optimal bleiben können. Nur sehr wenige Programme auf dem Markt bieten solche herausragenden Qualitäten.

[https://www.diaetostats.com](https://www.diaetostats.com)

[https://twitter.com/diaetostat_](https://twitter.com/diaetostat_)

[https://www.instagram.com/diaetostat_](https://www.instagram.com/diaetostat_)

[https://www.pinterest.de/diaetostat_](https://www.pinterest.de/diaetostat_)

[https://www.facebook.com/diaetostatpillen](https://www.facebook.com/diaetostatpillen)

[https://sites.google.com/view/diaetostatpillen/home](https://sites.google.com/view/diaetostatpillen/home)

[https://groups.google.com/g/diaetostatpillen/c/bWQa1VTvjWw](https://groups.google.com/g/diaetostatpillen/c/bWQa1VTvjWw)

[https://diaetostatpillen.blogspot.com/](https://diaetostatpillen.blogspot.com/)

[https://www.reddit.com/user/diaetostatpillen](https://www.reddit.com/user/diaetostatpillen)

[https://diaetostatpillen.gumroad.com/](https://diaetostatpillen.gumroad.com/)

[https://diaetostatpillen.wordpress.com/](https://diaetostatpillen.wordpress.com/)

[https://diaetostatpillen.gumroad.com/l/diaetostat](https://diaetostatpillen.gumroad.com/l/diaetostat)

[https://medium.com/@diaetostatpillen](https://medium.com/@diaetostatpillen)

[https://www.tumblr.com/blog/diaetostatpillen](https://www.tumblr.com/blog/diaetostatpillen)

[https://techplanet.today/member/diaetostatpillen](https://techplanet.today/member/diaetostatpillen)

[https://diaetostat.weebly.com/](https://diaetostat.weebly.com/)

[https://diaetostatpillen.wixsite.com/diaetostat](https://diaetostatpillen.wixsite.com/diaetostat)

[https://choialy-mcnaords-tweinn.yolasite.com/](https://choialy-mcnaords-tweinn.yolasite.com/)
Monday Sticker Monday
Tags: stickers, casual, gear, swag
Published: 2023-02-13 08:53:58

In two years about contributing to opensource, hackaton, hacktoberfest... how much stickers! how to do with them?

Sticker bombing the laptop, this is the awesome (in my opinion! 😁) result:


![closed laptop with stickers!](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/357q40tesmajywqpvpnz.jpeg)


![opened laptop with stickers!](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k7ydyif237ryii6f4af5.jpeg)

It's monday, we are at work, we are a little bit bored. Share your stikerized laptop, or how do you use stickers that you won!😁
Programirleme Nireden Başlamaly?
Tags: programming, webdev, beginners, javascript
Published: 2023-02-13 08:48:21


![](https://cdn-images-1.medium.com/max/12032/1*ty7vqKMf0PnI07IYyPjN7Q.jpeg)
>  Programirleme öwreniň, çünki bu size nähili pikirlenmegiňizi öwreder — STEVE JOBS

Programmist bolmak — belki 21-nji asyryň iň populýar hünärlerinden biridir.

Bu hünäri populýar eden iň uly sebäp -> ýokary okuw okanam hem bu işi edip bilmek we ýokary derejeli aýlykdyr.
>  Programirleme Öwrenmäge Nireden Başlamaly?

![](https://cdn-images-1.medium.com/max/4490/1*Xh3CpgNjiI0Q8emovVbMtQ.jpeg)

Programirleme başlamazdan öň özüňize şu soragy soraň: “Men näme üçin programirleme öwrenmek isleýärin?”

 1. Hünär edinmek üçin. Eger siz programirleme ugrundan ýokary okuw okamadyk bolsaňyz, belli programirleme dillerini öwrenip başlamaly. Meselem: Javascript, python, dart, kotlin. Çünki bu ugurlarda iş tapmak beýleki ugurlara garanyňda aňsat bolup biler.

 2. Gyzyklanma/hobi üçin. Eger android programa düzmäge (java programirleme dili)/ web saýt düzmäge (javascript programirleme dili)/ oýun düzmäge (C++ ýa-da C# programirleme dili) höwesiňiz bar bolsa, olar barada gysgaça gözleg edip gerekli maglumatlary tapyp bilersiňiz.

 3. Akademiýa üçin. Eger programirlemegi akademiýa derejesinde öwrenmek isleseniz C, C++, python ýaly dillerden başlamaly. Bu diller size programirlemegiň manysyny, funksiýalaryny we akademiýa gerekli ähli zady öwreder.

Ýokardaky soraga jogap bereniňizden soň öz ugruňyzy saýlap bilersiniz!

Eger bu ýazgy size peýdaly bolan bolsa like basmagy we teswirlerde öz pikiriňizi ýazmagy unutmaň!
#TestCulture 🦅 Episode 24 - Test automation for software or web testers
Tags: discuss, testing, agile, devops
Published: 2023-02-13 08:42:08

Test automation is a method of software testing that uses automation solutions to execute the tests.
Some manual #testing can be tedious, repetitive and boring. As applications grow over time, testing manually becomes even more complicated, consuming the team's productive time and effort.
Testers’ new approach encourage them to freed up their schedule to focus on tests that require fewer repetitive actions.
Software or website testers should have access to tools that can automate their tests without having to ask for help from a developer.
Test automation provides autonomy to testers, but also creates better collaboration with developers. 🤝

What do you think about #TestAutomation?

-----
📚 Sources:

🦅 https://agilitest.com/solutions/tester 

🌐 https://avoautomation.ai/10-benefits-of-test-automation/
-----

[A Thread on Twitter.](https://twitter.com/agilitest/status/1583111888837443585?s=20&t=jkItYibsAw-YjGEJDYgH3w)
Outreachy: Experience with Adoptium
Tags: opensource, sbom, java, eclipseadoptium
Published: 2023-02-13 08:39:01

| Outreachy |
|----------|
| [1. Outreachy: Introducing myself with Eclipse Adoptium](https://dev.to/julian55455/outreachy-introducing-myself-with-eclipse-adoptium-3bam)   |
| [2. Outreachy: Everyone Struggles](https://dev.to/julian55455/outreachy-everyone-struggles-1cn1)|
| [3. Outreachy: Experience with Adoptium](https://dev.to/julian55455/experience-with-eclipse-adoptium-2c3m)| 

##My Journey with Eclipse Adoptium: An Unforgettable Experience

Have you ever heard of Eclipse Temurin? If not, then you're in for a treat. Eclipse Temurin is an open-source platform designed for enterprise Java (openJDK) applications that provides an improved runtime environment for applications running on the Java Virtual Machine (JVM). I have the opportunity to participate in a training program provided by Adoptium, and I have to say, it is one of the most enriching experiences of my life.
The My program is run by three of the most amazing mentors I have ever met: Shelley, Wen, and Andrew. These mentors not only have extensive knowledge of Eclipse Adoptium technologies, but they also have passion for teaching and helping others. Their dedication to their students is truly inspiring, and I am grateful to have the opportunity to learn from them.

During the program, I'm learning a lot about the various features of Eclipse Adoptium projects, including its ability to optimize Java applications for improved performance, as well as its support for cloud-native deployments. I've been  able to gain hands-on experience with the platform, which allowes me to truly understand its capabilities.

Aside from the technical aspects, I was also introduced to the vibrant community of Adoptium users and developers. Being part of the community, allows me to attend virtual events and meet people from all over the world who shared my passion for technology. This is a fantastic opportunity for me to network and learn from others in the industry.

One of my favorite quotes that I have learned during the program was by Albert Einstein, who once said, **"Learning is an experience. Everything else is just information."** I believe this quote perfectly sums up my experience so far with Adoptium. The program is not just about learning information, but it is an experience that is allowing me to learn, grow, and connect with others in the industry.
Another fun fact that I have learned during the program is that Eclipse Adoptium projects are currently held and supported  Eclipse Foundation, which is known for its popular Java integrated development environment (IDE). This just goes to show the level of expertise and dedication that goes into the development of these projects.

In conclusion, my experience with Adoptium is truly unforgettable. I am grateful to have the opportunity to participate in this program and to learn from the amazing mentors, Shelley, Wen, and Andrew.
If you're a Java developer, I highly recommend giving Eclipse Adoptium a try. You won't regret it.
"The only way to do great work is to love what you do." - Steve Jobs
Cloud Boot Camp: An Experience to Remember
Published: 2023-02-13 08:37:45

Recently, I had the opportunity to attend a cloud boot camp, where I learned about the latest trends and technologies in the field of cloud computing. The boot camp was organized by a well-known cloud provider and was aimed at helping IT professionals, developers, and students acquire the necessary skills to work in the cloud industry. It was a great experience, and I want to share my insights with you.

The Importance of Diversity and Inclusion
Diversity and inclusion are critical to the success of any organization, and the cloud industry is no exception. A diverse and inclusive workplace creates a culture of respect and understanding, where all employees feel valued and appreciated. This can lead to improved employee satisfaction and motivation, which can result in increased innovation, better problem-solving, and better business outcomes. Additionally, having a diverse and inclusive workforce helps organizations better serve their customers and understand the needs of their diverse user base.

Why Bridging the Skills Gap is Important

The demand for cloud computing professionals is growing, and it is essential that we bridge the skills gap to meet the needs of the industry. With the rapid growth of technology, the number of jobs in cloud computing is increasing, and companies are looking for professionals who have the right skills to support their cloud initiatives. By bridging the skills gap, we can create a strong talent pool of cloud professionals who are equipped to meet the demands of the industry.

What an Applicant Can Expect

The cloud boot camp was designed to provide hands-on experience with cloud computing technologies and practices. During the boot camp, attendees learned about various cloud platforms, such as Amazon Web Services (AWS). We also learned about cloud security, DevOps, and containerization. The boot camp provided a great learning environment, where attendees could interact with each other, ask questions, and get hands-on experience with cloud technologies.

Why You Should Work in the Cloud Industry

Working in the cloud industry is a great opportunity for IT professionals, developers, and students who are interested in technology and want to make a difference. The cloud industry is growing rapidly, and companies are investing heavily in cloud technology to support their digital
Introducing Lexington Themes
Tags: product, webdev, astro, tailwindcss
Published: 2023-02-13 08:33:05

After several months of building and little sleeping and a lot of fun, I would like to introduce you to my next project:

> www.lexingtonthemes.com

Outstanding themes and UI kits for designers, developers, businesses, & personal use — Crafted with Astro and Tailwind CSS

✺ Landing pages
✺ UI Kits ( Multipage Templates )
✺ Personal
✺ Blogs
✺ Free

Any questions feel free to ask here or on twitter at twitter.com/Mike_Andreuzza
Core Java - Inheritance
Tags: java
Published: 2023-02-13 08:31:22

**Single Inheritance** 
Implicitly every class inherits the java.lang.object class.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/diwo7h8c2rnoxadqpf2u.png)


**Multilevel Inheritance**
In this we have a parent class and child class extending parent class.

while creating object for child class using that object we can call the parent class methods.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0lvvfmw1ts67xgus34y7.png)

If we create a object for child class and object address is same for parent class and child class.

**Hierarchical inheritance**
A vehicle class has a fuel method a bus and car class extend vehicle class.

**Method Overriding**
The fuel method return diesal for bus and petrol for car this is method overriding. Still the method name and signature is same.

```
Class Vehicle{
public String fuel(){
return "null";
}
}
```

```
Class bike extends Vehicle{
@override 
public String fuel(){
return "petrol";
}
}
```

```
class bus extends Vehicle{
@override 
public String fuel(){
return "diesal";
}
}
```

```
class Main{
public static void main(String[] args){
 Bike b = new Bike();
 System.out.println(b.fuel());
 Bus b1 = new Bus();
 System.out.println(b1.fuel());
}
}
```


**Super keyword**
Super keyword is used to point out parent class.

```
public class Parent {
	void f1() {
		System.out.println("inside parent f1");
	}
}

```

```
public class Child extends Parent{
	void f1() {
		super.f1();
		System.out.println("inside child f1");
	}
}
```

```
public class Test {
	public static void main(String[] args) {
		Child c = new Child();
		c.f1();
	}
}
```


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dlyl4k6hzfdjxpbt6ilv.png)



**Constructor Chaining**
Is a feature we can access parent and child constructor in single object creation.

```
public class SuperClass {
	int x;

	public SuperClass() {
		System.out.println("No args constructor");
	}

	public SuperClass(int x) {
		this();
		this.x = x;
		System.out.println("All args Constructor");
	}

}
```

```
public class ChildClass extends SuperClass{
	ChildClass(){
		this(10);
		System.out.println("No args child class constrctor");
	}
	ChildClass(int x){
		super(x);
		System.out.println("No args child class constrctor");
	}
	public static void main(String[] args) {
		ChildClass c = new ChildClass();
		
	}
}
```


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u4y0t0a4k7wbrrlbzyo4.png)
Die 10 besten Tools zu Preismonitoring im Jahr 2023
Tags: preismonitoring, webdev, productivity, management
Published: 2023-02-13 08:26:21

<mark>**Artikel Quelle:** [Die 10 besten Tools zu Preismonitoring im Jahr 2023](https://octoparse.de/blog/die-besten-10-tools-zum-preismonitoring-im-jahr-2021)</mark>

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t5xfyljfjfpkx6rk5dwg.png)
Heutzutage beobachten und vergleichen Menschen oft Produkte und Dienstleistungen online, bevor sie eine Kaufentscheidung treffen. Aus diesem Grund ist die Nutzererfahrung für Unternehmen entscheidend, um bestehende Kunden langfristig zu halten. Der Preis ist jedoch der wichtige Faktor, insbesondere für die neuen Kunden. Deswegen ist das Preismonitoring oder Preisbeobachter für Ihr Unternehmen von großer Bedeutung. Insgesamt kann Preismonitoring ein wertvolles Werkzeug für Unternehmen und Verbraucher sein, um Preise zu beobachten und zu vergleichen, Trends zu identifizieren und Wettbewerbsvorteile zu erlangen.
Google Logo Using CSS Only
Tags: webdev, css, html, tutorial
Published: 2023-02-12 20:54:18


## Google Logo Using CSS Only

In this blog, we are going to learn **“How to Create the Google Logo Using CSS Only.”**

![Created By [Rutik Patel](https://youtu.be/N5racZCWCoY)](https://cdn-images-1.medium.com/max/2560/1*Yq80fVy_kv17Z3SA33kXiw.png)

&nbsp;
## Points to be discussed

* Preview

* YouTube Tutorial

* HTML Code

* CSS Code

* References

&nbsp;
## Preview :

A live demo of the website can be viewed by [clicking here](https://rutikkpatel.github.io/HTML-CSS/CSS%20Gradient/Google_Logo/index.html).

![](https://cdn-images-1.medium.com/max/3840/1*fEF6COiBlhlRU3sMhCa1IA.png)

&nbsp;
## YouTube Tutorial :
{% youtube Vo2c_5tfxao %}

&nbsp;
## HTML CODE :

index.html
```html
<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Google Logo using Conic Gradient</title>
	<link rel="stylesheet" type="text/css" href="style.css">
	<link rel="preconnect" href="https://fonts.googleapis.com">
	<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
	<link href="https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@500&display=swap" rel="stylesheet">
</head>

<body>
	<div class="container">
		<h2> Google Logo Using CSS Only</h2>
		<div class="box">
			<h1>G</h1>
		</div>
	</div>
</body>

</html>
```

&nbsp;
## CSS CODE :

style.css

```css
* {
	margin: 0;
	padding: 0;
}

.container {
	text-align: center;
}

.container h2 {
	margin: 15px 0px;
}

.container .box {
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: 'Kumbh Sans', sans-serif;
}

.box h1 {
	width: 400px;
	height: 400px;
	font-size: 30em;
	background-image: conic-gradient(from -20deg at 38% 59%, #DB4437 0deg, #DB4437 90deg, #4285F4 90deg, #4285F4 180deg, #0F9D58 180deg, #0F9D58 270deg, #F4B400 270deg, #F4B400 360deg);
	padding-top: 9px;
	padding-bottom: 81px;
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}

```
    

&nbsp;
## References :

**Google Fonts**: [https://fonts.google.com/specimen/Kumbh+Sans](https://fonts.google.com/specimen/Kumbh+Sans)

**GitHub Repository**: [https://github.com/rutikkpatel/HTML-CSS/tree/main/CSS%20Gradient/Google_Logo](https://github.com/rutikkpatel/HTML-CSS/tree/main/CSS%20Gradient/Google_Logo)