A Method for optimizing a data transmission in an automation system between a control device and at least one cloud system , wherein the method comprises at least the following steps: determining a data transmission characteristic of at least one transmission path which is available for the data transmission by means of a first and/or a second determination component , wherein the first determination component is part of the control device and the second determination component is part of the cloud system; analyzing , based on the determined data transmission characteristic, whether the data to be transmitted can be transmitted, wherein the analyzing is carried out by means of a first and/or a second analysis component , wherein the first analysis component is part of the control device and the second analysis component is part of the cloud system; selecting at least one measure from a set of measures in order to adapt the data to be transmitted and/or the transmission path if the data to be transmitted cannot be transmitted in order to enable the data transmission, wherein the at least one measure comprises the use of an alternative and/or additional transmission path, wherein the alternative and/or additional transmission path is a transmission path of a further control device, wherein the selecting is carried out by means of a first and/or a second selection component , wherein the first selection component is part of the control device and the second selection component is part of the cloud system, performing the at least one selected measure by means of a first and/or a second measure component , wherein the first measure component is part of the control device and the second measure component is part of the cloud system. determining a data transmission characteristic of at least one transmission path which is available for the data transmission by means of a first and/or a second determination component , wherein the first determination component is part of the control device and the second determination component is part of the cloud system; analyzing , based on the determined data transmission characteristic, whether the data to be transmitted can be transmitted, wherein the analyzing is carried out by means of a first and/or a second analysis component , wherein the first analysis component is part of the control device and the second analysis component is part of the cloud system; selecting at least one measure from a set of measures in order to adapt the data to be transmitted and/or the transmission path if the data to be transmitted cannot be transmitted in order to enable the data transmission, wherein the at least one measure comprises the use of an alternative and/or additional transmission path, wherein the alternative and/or additional transmission path is a transmission path of a further control device, wherein the selecting is carried out by means of a first and/or a second selection component , wherein the first selection component is part of the control device and the second selection component is part of the cloud system, performing the at least one selected measure by means of a first and/or a second measure component , wherein the first measure component is part of the control device and the second measure component is part of the cloud system. <EOS>