Galeria Virtual Micornio Arte, obra grafica, documentos antiguos y piezas de coleccion seleccionadas por Roberto Perez Ver catalogo
Galeria Micornio Arte y piezas de coleccion Ver
Galeria Virtual Micornio

Explora arte, obra grafica, documentos antiguos, antiguedades y piezas de coleccion seleccionadas desde el archivo de Roberto Perez.

jueves, 3 de noviembre de 2022

AWS CLOUDE PRACTICIONER CERTIFICATION

 

SSH Troubleshooting


1) There's a connection timeout

This is a security group issue. Any timeout (not just for SSH) is related to security groups or a firewall. Ensure your security group looks like this and correctly assigned to your EC2 instance.

2) There's still a connection timeout issue

If your security group is properly configured as above, and you still have connection timeout issues, then that means a corporate firewall or a personal firewall is blocking the connection. Please use EC2 Instance Connect as described in the next lecture.


3) SSH does not work on Windows

  • If it says: ssh command not found, that means you have to use Putty

  • Follow again the video. If things don't work, please use EC2 Instance Connect as described in the next lecture


4) There's a connection refused

This means the instance is reachable, but no SSH utility is running on the instance

  • Try to restart the instance

  • If it doesn't work, terminate the instance and create a new one. Make sure you're using Amazon Linux 2


5)  Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

This means either two things:

  • You are using the wrong security key or not using a security key. Please look at your EC2 instance configuration to make sure you have assigned the correct key to it.

  • You are using the wrong user. Make sure you have started an Amazon Linux 2 EC2 instance, and make sure you're using the user ec2-user. This is something you specify when doing ec2-user@<public-ip> (ex: ec2-user@35.180.242.162) in your SSH command or your Putty configuration


6) Nothing is working - "aaaahhhhhh"

Don't panic. Use EC2 Instance Connect from the next lecture. Make sure you started an Amazon Linux 2 and you will be able to follow along with the tutorial :)


7) I was able to connect yesterday, but today I can't

This is probably because you have stopped your EC2 instance and then started it again today. When you do so, the public IP of your EC2 instance will change. Therefore, in your command, or Putty configuration, please make sure to edit and save the new public IP.



Happy troubleshooting!
Stephane



spring boot 

  .   ____          _            __ _ _

 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \

( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \

 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )

  '  |____| .__|_| |_|_| |_\__, | / / / /

 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::        (v2.0.4.RELEASE)


2022-11-06 18:45:10.993  INFO 18896 --- [  restartedMain] tacos.TacoCloudApplication               : Starting TacoCloudApplication on DESKTOP-UVVTDNC with PID 18896 (C:\Users\105890781\sia5-examples\spring-in-action-5-samples-master\ch01\tacos\target\classes started by 105890781 in C:\Users\105890781\sia5-examples\spring-in-action-5-samples-master\ch01\tacos)

2022-11-06 18:45:10.996  INFO 18896 --- [  restartedMain] tacos.TacoCloudApplication               : No active profile set, falling back to default profiles: default

2022-11-06 18:45:11.090  INFO 18896 --- [  restartedMain] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@293e7ca8: startup date [Sun Nov 06 18:45:11 CST 2022]; root of context hierarchy

2022-11-06 18:45:13.133  INFO 18896 --- [  restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http)

2022-11-06 18:45:13.161  INFO 18896 --- [  restartedMain] o.apache.catalina.core.StandardService   : Starting service [Tomcat]

2022-11-06 18:45:13.162  INFO 18896 --- [  restartedMain] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/8.5.32

2022-11-06 18:45:13.171  INFO 18896 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener   : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Program Files\Java\jdk1.8.0_202\jre\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\nodejs\;C:\Program Files\Amazon\AWSCLIV2\;C:\Program Files\PuTTY\;C:\Users\105890781\apache-maven-3.8.6-bin\apache-maven-3.8.6\bin;C:\Program Files\Java\jdk1.8.0_202\bin;C:\Users\105890781\AppData\Local\Microsoft\WindowsApps;C:\Users\105890781\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\105890781\AppData\Roaming\npm;C:\Users\105890781\apache-maven-3.8.6-bin\apache-maven-3.8.6\bin;;.]

2022-11-06 18:45:13.273  INFO 18896 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext

2022-11-06 18:45:13.273  INFO 18896 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 2186 ms

2022-11-06 18:45:13.372  INFO 18896 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean  : Servlet dispatcherServlet mapped to [/]

2022-11-06 18:45:13.377  INFO 18896 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]

2022-11-06 18:45:13.378  INFO 18896 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]

2022-11-06 18:45:13.378  INFO 18896 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpPutFormContentFilter' to: [/*]

2022-11-06 18:45:13.382  INFO 18896 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]

2022-11-06 18:45:13.479  INFO 18896 --- [  restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]

2022-11-06 18:45:13.629  INFO 18896 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@293e7ca8: startup date [Sun Nov 06 18:45:11 CST 2022]; root of context hierarchy

2022-11-06 18:45:13.703  INFO 18896 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/],methods=[GET]}" onto public java.lang.String tacos.HomeController.home()

2022-11-06 18:45:13.707  INFO 18896 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)

2022-11-06 18:45:13.710  INFO 18896 --- [  restartedMain] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)

2022-11-06 18:45:13.752  INFO 18896 --- [  restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]

2022-11-06 18:45:13.758  INFO 18896 --- [  restartedMain] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]

2022-11-06 18:45:14.049  INFO 18896 --- [  restartedMain] o.s.b.d.a.OptionalLiveReloadServer       : LiveReload server is running on port 35729

2022-11-06 18:45:14.102  INFO 18896 --- [  restartedMain] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup

2022-11-06 18:45:14.276  INFO 18896 --- [  restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path ''

2022-11-06 18:45:14.286  INFO 18896 --- [  restartedMain] tacos.TacoCloudApplication               : Started TacoCloudApplication in 3.783 seconds (JVM running for 4.628)


comandos 

mvn spring-boot:run



About EBS Multi-Attach

About EBS Multi-Attach

While I say that in the previous lecture that EBS volumes cannot be attached to multiple instances, I know it is not true for io1 and io2 volume types: this is called the EBS Multi-Attach feature.

From an AWS Cloud Practitioner exam perspective this out of scope for the exam.
In order to keep the course simple and accessible, I have left out this feature from the course.

If you are curious to learn about EBS Multi-Attach, you will find it in the AWS Certified Solutions Architect Associate course, or in the AWS documentation.

Happy learning!

---
Parameters:
  SecurityGroupDescription:
    Description: Security Group Description
    Type: String

Resources:
  MyInstance:
    Type: AWS::EC2::Instance
    Properties:
      AvailabilityZone: us-east-1a
      ImageId: ami-a4c7edb2
      InstanceType: t2.micro
      SecurityGroups:
        - !Ref SSHSecurityGroup
        - !Ref ServerSecurityGroup

  # an elastic IP for our instance
  MyEIP:
    Type: AWS::EC2::EIP
    Properties:
      InstanceId: !Ref MyInstance

  # our EC2 security group
  SSHSecurityGroup:
    Type: AWS::EC2::SecurityGroup
    Properties:
      GroupDescription: Enable SSH access via port 22
      SecurityGroupIngress:
      - CidrIp: 0.0.0.0/0
        FromPort: 22
        IpProtocol: tcp
        ToPort: 22

  # our second EC2 security group
  ServerSecurityGroup:
    Type: AWS::EC2::SecurityGroup
    Properties:
      GroupDescription: !Ref SecurityGroupDescription
      SecurityGroupIngress:
      - IpProtocol: tcp
        FromPort: 80
        ToPort: 80
        CidrIp: 0.0.0.0/0
      - IpProtocol: tcp
        FromPort: 22
        ToPort: 22
        CidrIp: 192.168.1.1/32

Outputs:
  ElasticIP:
    Description: Elastic IP Value
    Value: !Ref MyEIP

viernes, 20 de mayo de 2022

BOOLTZMANN, PAUL EHRENFEST, LA FISICA ESTADISTICA Y LA DEPRESION

  

La Fisica Estadística que creó Booltzman permitió llegar por vez primera en las propiedades fundamentales y eso no es sencillo para la mente humana, porque te das cuenta de que has llegado a una parte fundamental del designio de Dios o la existencia, o la naturaleza, y te das cuenta que es tremendamente brutal y tremendamente negra y fría, que no le importa los más mínimo los humanos y sus designios y que va a actuar conforme a unas leyes fundamentales que se han probado totalmente y que van a ir hasta sus últimas consecuencias sin importar nada más que el fin último del desintegramiento total de todo.

 

Esto está metido intrínsecamente en la fisica estadística, es por eso que es tan difícil manejarla,  yo trabaje un tiempo a un nivel profundo de fisica estadística y termine con un desgaste mental importante, aunado a que estaba pasando por un tema personal en ese momento pues si caí en un problema depresivo muy fuerte.

 

Quien realmente ha indagado en las profundidades de la fisica, a un nivel realmente que te permita comprender los fundamentos de la naturaleza y Dios, ha sido Booltzman.

 

Puedo por eso hablar de lo que pudo haber pasado Boltzmann que fue cayendo en una espiral depresiva importante. Mi teoría es que se dio cuenta a nivel fundamental que todo está jodido que la segunda ley de la termodinámica es real y que todo está jodido y que todo va para el desgaste y rápidamente,  y debido a que era súper inteligente, pudo darse cuenta de esa parte obscura,  incluso su consciencia aumento debido a este conocimiento nuevo se daba cuenta de cosas y fenómenos que no son visibles a la gente que está dormida y que no los ve.

 

Todo esto fue generando un shock tremendo en la mente de Boltzmann, y no solamente de él, también Paul Ehrenfest, 

 

 Las matemáticas y en especial la fisica no son materias fáciles de trabajar, ya que exigen un alto nivel de dedicación y de especialización, incluso de esfuerzos y desvelos inhumanos,  NO HABLO DE LOS FISICOS MEDIOCRES,  que realmente nunca llegaran a vislumbrar eso. Ya que son mediocres

Esa tarde de verano, al ver que su teoría era cierta y que tenía que luchar con físicos mediocres que no la comprendían y que nunca lo harían, Boltzmann decide quitarse la vida ahorcándose en la casa de veraneo, que se supone había rentado junto a su familia para pasar una buena tarde, termino siendo su última morada.

 

Lo mismo creo que sucedió a Paul Ehrenfest su biografía no ha sido tan desarrollada, tal vez por el trágico final, incluso más trágico que el de Boltzmann, ya que el termino asesinando cruelmente a su hijo que tenía síndrome de Down, antes de quitarse la vida.

 

Sin embargo Ehrenfest para nada era un físico mediocre era gran físico que iba siempre hacia el concepto fundamental y que entendía como pocos de lo que se trataba la fisica estadística, eso fue llevándolo a la espiral similar a la de Boltzman.

 

Intrínsecamente la Fisica estadística implica que los gases y todo objeto están compuesto por millones y millones de átomos, que interaccionan siguiendo leyes específicas de estadística y fisica.

 

Es aún muy admirable Einstein que conociendo también esos conceptos y ese conocimiento incluso más profundo aunque en otras áreas no se haya vuelto loco.

 

A continuación una parte de lo que he ido recopilando sobre uno de los grandes gigantes de la fisica, Boltzman. Y científicos suicidas

 

ROBERTO PEREZ 2022



Paul Ehrenfest

De Wikipedia, la enciclopedia libre

Saltar a navegación, búsqueda

http://bits.wikimedia.org/skins-1.5/common/images/magnify-clip.png

Paul Ehrenfest

Paul Ehrenfest (18-1-1880 - 25-9-1933), fue un físico y matemático austriaco, obtuvo la nacionalidad holandesa el 24 de marzo de 1922. Sus principales contribuciones se produjeron en el campo de la Física estadística y su relación con la mecánica cuántica y también la teoría de Cambio de estado y el teorema de Ehrenfest. En diciembre de 1904, contrajo matrimonio con la matemática rusa Tatyana Alexeyevna Afanasyeva (1876–1964), que se convirtió en una de sus colaboradoras. Tuvieron dos hijas y dos hijos: Tatyana (1905-1984), que también se convirtió en matemática, Galinka (1910-1979) ilustradora de libros para niños, Paul Jr. (1915-1939) físico y Vassily (1918-1933). Sumido en una grave depresión, se suicidó en 1933, el mismo día en que acabó con la vida de su hijo Vassily, que padecía sindrome de Down.

[editar] Enlaces externos

[editar] Referencias

Obtenido de "http://es.wikipedia.org/wiki/Paul_Ehrenfest"

 

Paul Epstein

From Wikipedia, the free encyclopedia

Jump to: navigation, search

For the American mathematician, see Paul Sophus Epstein.

Paul Epstein (Frankfurt, July 24, 1871 – Dornbusch, August 11, 1939) was a German mathematician. He is known for his contributions to number theory, in particular the Epstein zeta function.

Epstein was raised in Frankfurt where his father was a professor. He received his PhD in 1895 from the University of Strasbourg. From 1895 to 1918 he was a Privatdozent at the University in Strasbourg, which at that time was part of the German Empire. At the end of World War I the city of Strasbourg reverted to France, and Epstein, being German, had to return to Frankfurt.

Epstein was appointed to a non-tenured post at the university and he lectured in Frankfurt from 1919. Later he was appointed professor at Frankfurt. However, after the Nazis came to power in Germany he lost his university position. Because of his age he was unable to find a new position abroad, and finally committed suicide by abusing barbital, fearing Gestapo torture.

 

























 













 


Galeria Virtual Micornio

Galeria Virtual Micornio

Arte, obra grafica, documentos antiguos y piezas de coleccion seleccionadas desde Mexico.